#979A2E#979A2E
#979A2E is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.4% C 0.128 H 111.0°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #979A2E |
|---|---|
| RGB | rgb(151, 154, 46) |
| HSL | hsl(62, 54%, 39%) |
| HSV | hsv(62, 70%, 60%) |
| CMYK | cmyk(1.9%, 0%, 70.1%, 39.6%) |
| CIE-LAB | lab(61.56, -14.75, 53.42) |
| CIE-LCH | lch(61.56, 55.42, 105.43°) |
| OKLab | oklab(66.35% -0.0457 0.1192) |
| OKLCH | oklch(66.35% 0.128 111) |
| XYZ | xyz(24.8120, 29.8884, 7.0462) |
| Luminance | 0.2989 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.97
Baby Poop Green
#8F9805
ΔE00 3.00
Baby Shit Green
#889717
ΔE00 3.60
Vomit
#A2A415
ΔE00 4.35
Pea Soup Green
#94A617
ΔE00 4.97
Puke
#A5A502
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979A2E #312E9A
analogous
#9A672E #979A2E #619A2E
triadic
#979A2E #2E979A #9A2E97
tetradic
#979A2E #2E9A67 #312E9A #9A2E61
square
#979A2E #2E9A67 #312E9A #9A2E61
split-complementary
#979A2E #2E619A #672E9A
monochromatic
#3B3C12 #696B20 #979A2E #C2C63F #D1D46F
Accessibility & contrast
On white
3.01
#979A2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.98
#979A2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #979A2E
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979A2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979A2E | 1.00 | 3.01 | 6.98 | 6.98 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A6931D
Deuteranopia (green-blind)
#A79636
Tritanopia (blue-blind)
#A29085
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #979a2e; /* rgb */ color: rgb(151, 154, 46); /* oklch */ color: oklch(66.4% 0.128 111.0);
Tailwind
colors: {
custom: {
50: '#b9b76e',
500: '#979a2e',
950: '#000000',
},
}SCSS
$custom: #979a2e; $custom-light: #b9b76e; $custom-dark: #000000;
JSON
{
"hex": "#979a2e",
"rgb": {
"r": 151,
"g": 154,
"b": 46
},
"hsl": {
"h": 61.667,
"s": 54,
"l": 39.216
},
"oklch": {
"l": 0.66353,
"c": 0.12764,
"h": 111
},
"luminance": 0.29888
}Semantic roles & 50–950 ramp
primary
#979A2E
secondary
#6B69BB
accent
#4ADD4F
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B