#979A1E#979A1E
#979A1E is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.3% C 0.137 H 111.1°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #979A1E |
|---|---|
| RGB | rgb(151, 154, 30) |
| HSL | hsl(61, 67%, 36%) |
| HSV | hsv(61, 81%, 60%) |
| CMYK | cmyk(1.9%, 0%, 80.5%, 39.6%) |
| CIE-LAB | lab(61.47, -15.47, 58.82) |
| CIE-LCH | lch(61.47, 60.82, 104.74°) |
| OKLab | oklab(66.25% -0.0492 0.1277) |
| OKLCH | oklch(66.25% 0.137 111.1) |
| XYZ | xyz(24.5533, 29.7849, 5.6837) |
| Luminance | 0.2978 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 1.64
Baby Poop Green
#8F9805
ΔE00 1.98
Baby Shit Green
#889717
ΔE00 3.49
Vomit
#A2A415
ΔE00 3.50
Puke
#A5A502
ΔE00 4.36
Pea Soup Green
#94A617
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979A1E #211E9A
analogous
#9A5F1E #979A1E #599A1E
triadic
#979A1E #1E979A #9A1E97
tetradic
#979A1E #1E9A5F #211E9A #9A1E59
square
#979A1E #1E9A5F #211E9A #9A1E59
split-complementary
#979A1E #1E599A #5F1E9A
monochromatic
#33340A #656714 #979A1E #C9CD28 #DADE55
Accessibility & contrast
On white
3.02
#979A1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#979A1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #979A1E
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979A1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979A1E | 1.00 | 3.02 | 6.96 | 6.96 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A7962A
Tritanopia (blue-blind)
#A29083
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #979a1e; /* rgb */ color: rgb(151, 154, 30); /* oklch */ color: oklch(66.3% 0.137 111.1);
Tailwind
colors: {
custom: {
50: '#b9b766',
500: '#979a1e',
950: '#000000',
},
}SCSS
$custom: #979a1e; $custom-light: #b9b766; $custom-dark: #000000;
JSON
{
"hex": "#979a1e",
"rgb": {
"r": 151,
"g": 154,
"b": 30
},
"hsl": {
"h": 61.452,
"s": 67.391,
"l": 36.078
},
"oklch": {
"l": 0.66253,
"c": 0.13682,
"h": 111.1
},
"luminance": 0.29784
}Semantic roles & 50–950 ramp
primary
#979A1E
secondary
#5553C1
accent
#3EEA42
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A