#979E2E#979E2E
#979E2E is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.3% C 0.132 H 113.0°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #979E2E |
|---|---|
| RGB | rgb(151, 158, 46) |
| HSL | hsl(64, 55%, 40%) |
| HSV | hsv(64, 71%, 62%) |
| CMYK | cmyk(4.4%, 0%, 70.9%, 38%) |
| CIE-LAB | lab(62.70, -16.82, 54.56) |
| CIE-LCH | lch(62.70, 57.09, 107.14°) |
| OKLab | oklab(67.27% -0.0515 0.1216) |
| OKLCH | oklch(67.27% 0.132 113) |
| XYZ | xyz(25.4833, 31.2308, 7.2700) |
| Luminance | 0.3123 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.09
Baby Poop Green
#8F9805
ΔE00 3.11
Baby Shit Green
#889717
ΔE00 3.50
Pea Soup Green
#94A617
ΔE00 3.62
Vomit
#A2A415
ΔE00 3.80
Vomit Green
#89A203
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979E2E #352E9E
analogous
#9E6D2E #979E2E #5F9E2E
triadic
#979E2E #2E979E #9E2E97
tetradic
#979E2E #2E9E6D #352E9E #9E2E5F
square
#979E2E #2E9E6D #352E9E #9E2E5F
split-complementary
#979E2E #2E5F9E #6D2E9E
monochromatic
#3C3F12 #6A6F20 #979E2E #BFC841 #CFD671
Accessibility & contrast
On white
2.90
#979E2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.25
#979E2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #979E2E
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979E2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979E2E | 1.00 | 2.90 | 7.25 | 7.25 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA961B
Deuteranopia (green-blind)
#AA9936
Tritanopia (blue-blind)
#A19488
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #979e2e; /* rgb */ color: rgb(151, 158, 46); /* oklch */ color: oklch(67.3% 0.132 113.0);
Tailwind
colors: {
custom: {
50: '#b9ba6e',
500: '#979e2e',
950: '#000000',
},
}SCSS
$custom: #979e2e; $custom-light: #b9ba6e; $custom-dark: #000000;
JSON
{
"hex": "#979e2e",
"rgb": {
"r": 151,
"g": 158,
"b": 46
},
"hsl": {
"h": 63.75,
"s": 54.902,
"l": 40
},
"oklch": {
"l": 0.67269,
"c": 0.13202,
"h": 113
},
"luminance": 0.3123
}Semantic roles & 50–950 ramp
primary
#979E2E
secondary
#706BBD
accent
#4ADE53
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B