#979E1A#979E1A
#979E1A is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.2% C 0.143 H 112.9°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #979E1A |
|---|---|
| RGB | rgb(151, 158, 26) |
| HSL | hsl(63, 72%, 36%) |
| HSV | hsv(63, 84%, 62%) |
| CMYK | cmyk(4.4%, 0%, 83.5%, 38%) |
| CIE-LAB | lab(62.60, -17.68, 60.89) |
| CIE-LCH | lch(62.60, 63.41, 106.19°) |
| OKLab | oklab(67.15% -0.0556 0.1314) |
| OKLCH | oklch(67.15% 0.143 112.9) |
| XYZ | xyz(25.1767, 31.1082, 5.6553) |
| Luminance | 0.3111 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 1.81
Baby Poop Green
#8F9805
ΔE00 2.17
Vomit
#A2A415
ΔE00 2.71
Pea Soup Green
#94A617
ΔE00 3.13
Baby Shit Green
#889717
ΔE00 3.51
Puke
#A5A502
ΔE00 3.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979E1A #211A9E
analogous
#9E631A #979E1A #559E1A
triadic
#979E1A #1A979E #9E1A97
tetradic
#979E1A #1A9E63 #211A9E #9E1A55
square
#979E1A #1A9E63 #211A9E #9E1A55
split-complementary
#979E1A #1A559E #631A9E
monochromatic
#333509 #656911 #979E1A #C9D323 #DAE250
Accessibility & contrast
On white
2.91
#979E1A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.22
#979E1A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #979E1A
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979E1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979E1A | 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)
#AB9928
Tritanopia (blue-blind)
#A29487
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #979e1a; /* rgb */ color: rgb(151, 158, 26); /* oklch */ color: oklch(67.2% 0.143 112.9);
Tailwind
colors: {
custom: {
50: '#b9ba65',
500: '#979e1a',
950: '#000000',
},
}SCSS
$custom: #979e1a; $custom-light: #b9ba65; $custom-dark: #000000;
JSON
{
"hex": "#979e1a",
"rgb": {
"r": 151,
"g": 158,
"b": 26
},
"hsl": {
"h": 63.182,
"s": 71.739,
"l": 36.078
},
"oklch": {
"l": 0.67153,
"c": 0.14268,
"h": 112.9
},
"luminance": 0.31108
}Semantic roles & 50–950 ramp
primary
#979E1A
secondary
#554FC5
accent
#39EE43
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A