Recognised as Colour
#7B8A02
- #7B8A02
- Yellow
- Dark
- Nearest: Olive
#7B8A02 is a yellow with RGB values 123, 138, 2 and HSL 67°, 97%, 27%. It is a dark colour, so black text on it reaches 5.5:1 contrast (AA for normal text). The nearest named colour is Olive.
Colour values
#7B8A02#7B8A02
HEX#7B8A02
RGBrgb(123, 138, 2)
RGB (0–1)0.4824, 0.5412, 0.0078
RGB percentages48.2%, 54.1%, 0.8%
HSLhsl(66.6, 97.1%, 27.5%)
HSV / HSBhsv(66.6, 98.6%, 54.1%)
CMYK10.9%, 0%, 98.6%, 45.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer8,096,258
CSS custom property--colour: #7B8A02;
Brightness & contrast
Relative luminance0.22392WCAG 2.x, 0 is black and 1 is white
Perceived brightness125.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 5.48:1
Contrast with white3.83:1WCAG normal text: Fail
Contrast with black5.48:1WCAG normal text: AA
Greyscale equivalent#7D7D7D
Inverted#8475FD
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text3.83:1WCAG large text: AA
Contrast with black, large text5.48:1WCAG large text: AAA
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#11028A
Analogous#8A5502, #378A02
Triadic#027B8A, #8A027B
Split complementary#02378A, #55028A
Tetradic#028A55, #11028A, #8A0237
Tints, shades & saturation
Channel breakdown
R123
G138
B2
Red123 (48.2%)
Green138 (54.1%)
Blue2 (0.8%)
Hue66.62°
Saturation (HSL)97.14%
Lightness27.45%
Dominant channelGreen
Hex per channelR 7B · G 8A · B 02
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page