#979B24#979B24
#979B24 is a light, vivid yellow. Relative luminance 0.301; OKLCH L 66.5% C 0.135 H 111.5°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #979B24 |
|---|---|
| RGB | rgb(151, 155, 36) |
| HSL | hsl(62, 62%, 37%) |
| HSV | hsv(62, 77%, 61%) |
| CMYK | cmyk(2.6%, 0%, 76.8%, 39.2%) |
| CIE-LAB | lab(61.78, -15.76, 57.24) |
| CIE-LCH | lch(61.78, 59.37, 105.39°) |
| OKLab | oklab(66.51% -0.0495 0.1254) |
| OKLCH | oklch(66.51% 0.135 111.5) |
| XYZ | xyz(24.8031, 30.1500, 6.1817) |
| Luminance | 0.3015 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.01
Baby Poop Green
#8F9805
ΔE00 2.22
Baby Shit Green
#889717
ΔE00 3.37
Vomit
#A2A415
ΔE00 3.53
Pea Soup Green
#94A617
ΔE00 4.29
Puke
#A5A502
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979B24 #28249B
analogous
#9B6424 #979B24 #5B9B24
triadic
#979B24 #24979B #9B2497
tetradic
#979B24 #249B64 #28249B #9B245B
square
#979B24 #249B64 #28249B #9B245B
split-complementary
#979B24 #245B9B #64249B
monochromatic
#36380D #676918 #979B24 #C7CD30 #D6DA5F
Accessibility & contrast
On white
2.99
#979B24 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.03
#979B24 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #979B24
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979B24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979B24 | 1.00 | 2.99 | 7.03 | 7.03 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A79405
Deuteranopia (green-blind)
#A8972E
Tritanopia (blue-blind)
#A29185
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #979b24; /* rgb */ color: rgb(151, 155, 36); /* oklch */ color: oklch(66.5% 0.135 111.5);
Tailwind
colors: {
custom: {
50: '#b9b869',
500: '#979b24',
950: '#000000',
},
}SCSS
$custom: #979b24; $custom-light: #b9b869; $custom-dark: #000000;
JSON
{
"hex": "#979b24",
"rgb": {
"r": 151,
"g": 155,
"b": 36
},
"hsl": {
"h": 62.017,
"s": 62.304,
"l": 37.451
},
"oklch": {
"l": 0.66514,
"c": 0.13483,
"h": 111.5
},
"luminance": 0.30149
}Semantic roles & 50–950 ramp
primary
#979B24
secondary
#5F5CBF
accent
#42E548
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A