#979E18#979E18
#979E18 is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.1% C 0.143 H 112.9°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #979E18 |
|---|---|
| RGB | rgb(151, 158, 24) |
| HSL | hsl(63, 74%, 36%) |
| HSV | hsv(63, 85%, 62%) |
| CMYK | cmyk(4.4%, 0%, 84.8%, 38%) |
| CIE-LAB | lab(62.59, -17.74, 61.38) |
| CIE-LCH | lch(62.59, 63.90, 106.12°) |
| OKLab | oklab(67.15% -0.0559 0.1321) |
| OKLCH | oklch(67.15% 0.143 112.9) |
| XYZ | xyz(25.1551, 31.0996, 5.5417) |
| Luminance | 0.3110 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 1.76
Baby Poop Green
#8F9805
ΔE00 2.14
Vomit
#A2A415
ΔE00 2.66
Pea Soup Green
#94A617
ΔE00 3.14
Baby Shit Green
#889717
ΔE00 3.55
Puke
#A5A502
ΔE00 3.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979E18 #1F189E
analogous
#9E6218 #979E18 #549E18
triadic
#979E18 #18979E #9E1897
tetradic
#979E18 #189E62 #1F189E #9E1854
square
#979E18 #189E62 #1F189E #9E1854
split-complementary
#979E18 #18549E #62189E
monochromatic
#313408 #646910 #979E18 #CAD320 #DCE44D
Accessibility & contrast
On white
2.91
#979E18 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.22
#979E18 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #979E18
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979E18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979E18 | 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)
#AB9927
Tritanopia (blue-blind)
#A29487
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #979e18; /* rgb */ color: rgb(151, 158, 24); /* oklch */ color: oklch(67.1% 0.143 112.9);
Tailwind
colors: {
custom: {
50: '#b9ba65',
500: '#979e18',
950: '#000000',
},
}SCSS
$custom: #979e18; $custom-light: #b9ba65; $custom-dark: #000000;
JSON
{
"hex": "#979e18",
"rgb": {
"r": 151,
"g": 158,
"b": 24
},
"hsl": {
"h": 63.134,
"s": 73.626,
"l": 35.686
},
"oklch": {
"l": 0.67145,
"c": 0.14346,
"h": 112.9
},
"luminance": 0.31099
}Semantic roles & 50–950 ramp
primary
#979E18
secondary
#524CC6
accent
#38F041
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A