#979C1E#979C1E
#979C1E is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.7% C 0.139 H 112.0°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #979C1E |
|---|---|
| RGB | rgb(151, 156, 30) |
| HSL | hsl(62, 68%, 36%) |
| HSV | hsv(62, 81%, 61%) |
| CMYK | cmyk(3.2%, 0%, 80.8%, 38.8%) |
| CIE-LAB | lab(62.04, -16.51, 59.32) |
| CIE-LCH | lch(62.04, 61.58, 105.55°) |
| OKLab | oklab(66.71% -0.0521 0.1288) |
| OKLCH | oklch(66.71% 0.139 112) |
| XYZ | xyz(24.8862, 30.4506, 5.7947) |
| Luminance | 0.3045 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 1.66
Baby Poop Green
#8F9805
ΔE00 1.99
Vomit
#A2A415
ΔE00 3.10
Baby Shit Green
#889717
ΔE00 3.38
Pea Soup Green
#94A617
ΔE00 3.86
Puke
#A5A502
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979C1E #231E9C
analogous
#9C621E #979C1E #589C1E
triadic
#979C1E #1E979C #9C1E97
tetradic
#979C1E #1E9C62 #231E9C #9C1E58
square
#979C1E #1E9C62 #231E9C #9C1E58
split-complementary
#979C1E #1E589C #621E9C
monochromatic
#34350A #656914 #979C1E #C9CF28 #D9DE56
Accessibility & contrast
On white
2.96
#979C1E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.09
#979C1E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #979C1E
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979C1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979C1E | 1.00 | 2.96 | 7.09 | 7.09 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#A9972A
Tritanopia (blue-blind)
#A29285
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #979c1e; /* rgb */ color: rgb(151, 156, 30); /* oklch */ color: oklch(66.7% 0.139 112.0);
Tailwind
colors: {
custom: {
50: '#b9b967',
500: '#979c1e',
950: '#000000',
},
}SCSS
$custom: #979c1e; $custom-light: #b9b967; $custom-dark: #000000;
JSON
{
"hex": "#979c1e",
"rgb": {
"r": 151,
"g": 156,
"b": 30
},
"hsl": {
"h": 62.381,
"s": 67.742,
"l": 36.471
},
"oklch": {
"l": 0.66712,
"c": 0.13888,
"h": 112
},
"luminance": 0.3045
}Semantic roles & 50–950 ramp
primary
#979C1E
secondary
#5854C2
accent
#3DEB44
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A