#979E1E#979E1E
#979E1E is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.2% C 0.141 H 112.9°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #979E1E |
|---|---|
| RGB | rgb(151, 158, 30) |
| HSL | hsl(63, 68%, 37%) |
| HSV | hsv(63, 81%, 62%) |
| CMYK | cmyk(4.4%, 0%, 81%, 38%) |
| CIE-LAB | lab(62.62, -17.54, 59.83) |
| CIE-LCH | lch(62.62, 62.35, 106.34°) |
| OKLab | oklab(67.17% -0.0549 0.1298) |
| OKLCH | oklch(67.17% 0.141 112.9) |
| XYZ | xyz(25.2245, 31.1274, 5.9075) |
| Luminance | 0.3113 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 1.97
Baby Poop Green
#8F9805
ΔE00 2.25
Vomit
#A2A415
ΔE00 2.84
Pea Soup Green
#94A617
ΔE00 3.15
Baby Shit Green
#889717
ΔE00 3.44
Puke
#A5A502
ΔE00 3.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979E1E #251E9E
analogous
#9E651E #979E1E #579E1E
triadic
#979E1E #1E979E #9E1E97
tetradic
#979E1E #1E9E65 #251E9E #9E1E57
square
#979E1E #1E9E65 #251E9E #9E1E57
split-complementary
#979E1E #1E579E #651E9E
monochromatic
#35370A #666B14 #979E1E #C8D128 #D8DF57
Accessibility & contrast
On white
2.91
#979E1E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#979E1E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #979E1E
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979E1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979E1E | 1.00 | 2.91 | 7.23 | 7.23 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AB992A
Tritanopia (blue-blind)
#A29487
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #979e1e; /* rgb */ color: rgb(151, 158, 30); /* oklch */ color: oklch(67.2% 0.141 112.9);
Tailwind
colors: {
custom: {
50: '#b9ba67',
500: '#979e1e',
950: '#000000',
},
}SCSS
$custom: #979e1e; $custom-light: #b9ba67; $custom-dark: #000000;
JSON
{
"hex": "#979e1e",
"rgb": {
"r": 151,
"g": 158,
"b": 30
},
"hsl": {
"h": 63.281,
"s": 68.085,
"l": 36.863
},
"oklch": {
"l": 0.67171,
"c": 0.14098,
"h": 112.9
},
"luminance": 0.31127
}Semantic roles & 50–950 ramp
primary
#979E1E
secondary
#5B55C3
accent
#3DEB46
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A