#979E1D#979E1D
#979E1D is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.2% C 0.141 H 112.9°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #979E1D |
|---|---|
| RGB | rgb(151, 158, 29) |
| HSL | hsl(63, 69%, 37%) |
| HSV | hsv(63, 82%, 62%) |
| CMYK | cmyk(4.4%, 0%, 81.6%, 38%) |
| CIE-LAB | lab(62.61, -17.58, 60.11) |
| CIE-LCH | lch(62.61, 62.62, 106.30°) |
| OKLab | oklab(67.17% -0.0551 0.1303) |
| OKLCH | oklch(67.17% 0.141 112.9) |
| XYZ | xyz(25.2120, 31.1223, 5.8413) |
| Luminance | 0.3112 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 1.93
Baby Poop Green
#8F9805
ΔE00 2.23
Vomit
#A2A415
ΔE00 2.81
Pea Soup Green
#94A617
ΔE00 3.14
Baby Shit Green
#889717
ΔE00 3.46
Puke
#A5A502
ΔE00 3.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979E1D #241D9E
analogous
#9E651D #979E1D #579E1D
triadic
#979E1D #1D979E #9E1D97
tetradic
#979E1D #1D9E65 #241D9E #9E1D57
square
#979E1D #1D9E65 #241D9E #9E1D57
split-complementary
#979E1D #1D579E #651D9E
monochromatic
#34370A #666A14 #979E1D #C8D226 #D8E056
Accessibility & contrast
On white
2.91
#979E1D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.22
#979E1D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #979E1D
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979E1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979E1D | 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)
#AA9600
Deuteranopia (green-blind)
#AB992A
Tritanopia (blue-blind)
#A29487
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #979e1d; /* rgb */ color: rgb(151, 158, 29); /* oklch */ color: oklch(67.2% 0.141 112.9);
Tailwind
colors: {
custom: {
50: '#b9ba66',
500: '#979e1d',
950: '#000000',
},
}SCSS
$custom: #979e1d; $custom-light: #b9ba66; $custom-dark: #000000;
JSON
{
"hex": "#979e1d",
"rgb": {
"r": 151,
"g": 158,
"b": 29
},
"hsl": {
"h": 63.256,
"s": 68.984,
"l": 36.667
},
"oklch": {
"l": 0.67167,
"c": 0.14142,
"h": 112.9
},
"luminance": 0.31122
}Semantic roles & 50–950 ramp
primary
#979E1D
secondary
#5A54C3
accent
#3CEC46
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A