Recognised as Colour
#978F02
- #978F02
- Yellow
- Dark
- Nearest: Olive
#978F02 is a yellow with RGB values 151, 143, 2 and HSL 57°, 97%, 30%. It is a dark colour, so black text on it reaches 6.2:1 contrast (AA for normal text). The nearest named colour is Olive.
Colour values
#978F02#978F02
HEX#978F02
RGBrgb(151, 143, 2)
RGB (0–1)0.5922, 0.5608, 0.0078
RGB percentages59.2%, 56.1%, 0.8%
HSLhsl(56.8, 97.4%, 30%)
HSV / HSBhsv(56.8, 98.7%, 59.2%)
CMYK0%, 5.3%, 98.7%, 40.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer9,932,546
CSS custom property--colour: #978F02;
Brightness & contrast
Relative luminance0.26229WCAG 2.x, 0 is black and 1 is white
Perceived brightness137.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 6.25:1
Contrast with white3.36:1WCAG normal text: Fail
Contrast with black6.25:1WCAG normal text: AA
Greyscale equivalent#878787
Inverted#6870FD
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text3.36:1WCAG large text: AA
Contrast with black, large text6.25:1WCAG large text: AAA
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#020A97
Analogous#974402, #549702
Triadic#02978F, #8F0297
Split complementary#025497, #450297
Tetradic#029745, #020A97, #970254
Tints, shades & saturation
Channel breakdown
R151
G143
B2
Red151 (59.2%)
Green143 (56.1%)
Blue2 (0.8%)
Hue56.78°
Saturation (HSL)97.39%
Lightness30%
Dominant channelRed
Hex per channelR 97 · G 8F · B 02
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page