#979E2A#979E2A
#979E2A is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.2% C 0.135 H 113.0°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #979E2A |
|---|---|
| RGB | rgb(151, 158, 42) |
| HSL | hsl(64, 58%, 39%) |
| HSV | hsv(64, 73%, 62%) |
| CMYK | cmyk(4.4%, 0%, 73.4%, 38%) |
| CIE-LAB | lab(62.68, -17.03, 56.01) |
| CIE-LCH | lch(62.68, 58.55, 106.91°) |
| OKLab | oklab(67.24% -0.0525 0.1239) |
| OKLCH | oklch(67.24% 0.135 113) |
| XYZ | xyz(25.4081, 31.2008, 6.8739) |
| Luminance | 0.3120 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.74
Baby Poop Green
#8F9805
ΔE00 2.81
Baby Shit Green
#889717
ΔE00 3.41
Pea Soup Green
#94A617
ΔE00 3.42
Vomit
#A2A415
ΔE00 3.49
Vomit Green
#89A203
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979E2A #312A9E
analogous
#9E6B2A #979E2A #5D9E2A
triadic
#979E2A #2A979E #9E2A97
tetradic
#979E2A #2A9E6B #312A9E #9E2A5D
square
#979E2A #2A9E6B #312A9E #9E2A5D
split-complementary
#979E2A #2A5D9E #6B2A9E
monochromatic
#3B3D10 #696E1D #979E2A #C2CB3A #D1D86B
Accessibility & contrast
On white
2.90
#979E2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.24
#979E2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #979E2A
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979E2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979E2A | 1.00 | 2.90 | 7.24 | 7.24 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9613
Deuteranopia (green-blind)
#AA9933
Tritanopia (blue-blind)
#A19488
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #979e2a; /* rgb */ color: rgb(151, 158, 42); /* oklch */ color: oklch(67.2% 0.135 113.0);
Tailwind
colors: {
custom: {
50: '#b9ba6c',
500: '#979e2a',
950: '#000000',
},
}SCSS
$custom: #979e2a; $custom-light: #b9ba6c; $custom-dark: #000000;
JSON
{
"hex": "#979e2a",
"rgb": {
"r": 151,
"g": 158,
"b": 42
},
"hsl": {
"h": 63.621,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.6724,
"c": 0.13457,
"h": 113
},
"luminance": 0.312
}Semantic roles & 50–950 ramp
primary
#979E2A
secondary
#6B66BE
accent
#47E150
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A