#979F18#979F18
#979F18 is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.4% C 0.144 H 113.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #979F18 |
|---|---|
| RGB | rgb(151, 159, 24) |
| HSL | hsl(64, 74%, 36%) |
| HSV | hsv(64, 85%, 62%) |
| CMYK | cmyk(5%, 0%, 84.9%, 37.6%) |
| CIE-LAB | lab(62.88, -18.25, 61.63) |
| CIE-LCH | lch(62.88, 64.27, 106.49°) |
| OKLab | oklab(67.38% -0.0573 0.1327) |
| OKLCH | oklch(67.38% 0.145 113.4) |
| XYZ | xyz(25.3264, 31.4421, 5.5988) |
| Luminance | 0.3144 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.01
Baby Poop Green
#8F9805
ΔE00 2.35
Vomit
#A2A415
ΔE00 2.59
Pea Soup Green
#94A617
ΔE00 2.79
Puke
#A5A502
ΔE00 3.58
Baby Shit Green
#889717
ΔE00 3.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979F18 #20189F
analogous
#9F6318 #979F18 #539F18
triadic
#979F18 #18979F #9F1897
tetradic
#979F18 #189F63 #20189F #9F1853
square
#979F18 #189F63 #20189F #9F1853
split-complementary
#979F18 #18539F #63189F
monochromatic
#323508 #646A10 #979F18 #C9D420 #DBE44D
Accessibility & contrast
On white
2.88
#979F18 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.29
#979F18 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #979F18
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979F18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979F18 | 1.00 | 2.88 | 7.29 | 7.29 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#AC9927
Tritanopia (blue-blind)
#A29587
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #979f18; /* rgb */ color: rgb(151, 159, 24); /* oklch */ color: oklch(67.4% 0.144 113.4);
Tailwind
colors: {
custom: {
50: '#b9bb65',
500: '#979f18',
950: '#000000',
},
}SCSS
$custom: #979f18; $custom-light: #b9bb65; $custom-dark: #000000;
JSON
{
"hex": "#979f18",
"rgb": {
"r": 151,
"g": 159,
"b": 24
},
"hsl": {
"h": 63.556,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.67376,
"c": 0.1445,
"h": 113.4
},
"luminance": 0.31442
}Semantic roles & 50–950 ramp
primary
#979F18
secondary
#544DC6
accent
#37F042
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A