#979E17#979E17
#979E17 is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.1% C 0.144 H 112.9°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #979E17 |
|---|---|
| RGB | rgb(151, 158, 23) |
| HSL | hsl(63, 75%, 35%) |
| HSV | hsv(63, 85%, 62%) |
| CMYK | cmyk(4.4%, 0%, 85.4%, 38%) |
| CIE-LAB | lab(62.59, -17.77, 61.62) |
| CIE-LCH | lch(62.59, 64.13, 106.08°) |
| OKLab | oklab(67.14% -0.056 0.1325) |
| OKLCH | oklch(67.14% 0.144 112.9) |
| XYZ | xyz(25.1449, 31.0955, 5.4879) |
| Luminance | 0.3110 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 1.73
Baby Poop Green
#8F9805
ΔE00 2.13
Vomit
#A2A415
ΔE00 2.64
Pea Soup Green
#94A617
ΔE00 3.14
Baby Shit Green
#889717
ΔE00 3.57
Puke
#A5A502
ΔE00 3.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979E17 #1E179E
analogous
#9E6117 #979E17 #539E17
triadic
#979E17 #17979E #9E1797
tetradic
#979E17 #179E61 #1E179E #9E1753
square
#979E17 #179E61 #1E179E #9E1753
split-complementary
#979E17 #17539E #61179E
monochromatic
#313307 #64690F #979E17 #CAD31F #DDE54B
Accessibility & contrast
On white
2.91
#979E17 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.22
#979E17 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #979E17
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979E17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979E17 | 1.00 | 2.91 | 7.22 | 7.22 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#AB9926
Tritanopia (blue-blind)
#A29487
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #979e17; /* rgb */ color: rgb(151, 158, 23); /* oklch */ color: oklch(67.1% 0.144 112.9);
Tailwind
colors: {
custom: {
50: '#b9ba64',
500: '#979e17',
950: '#000000',
},
}SCSS
$custom: #979e17; $custom-light: #b9ba64; $custom-dark: #000000;
JSON
{
"hex": "#979e17",
"rgb": {
"r": 151,
"g": 158,
"b": 23
},
"hsl": {
"h": 63.111,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.67141,
"c": 0.14382,
"h": 112.9
},
"luminance": 0.31095
}Semantic roles & 50–950 ramp
primary
#979E17
secondary
#514AC6
accent
#37F140
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A