#979E20#979E20
#979E20 is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.2% C 0.140 H 112.9°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #979E20 |
|---|---|
| RGB | rgb(151, 158, 32) |
| HSL | hsl(63, 66%, 37%) |
| HSV | hsv(63, 80%, 62%) |
| CMYK | cmyk(4.4%, 0%, 79.7%, 38%) |
| CIE-LAB | lab(62.62, -17.47, 59.26) |
| CIE-LCH | lch(62.62, 61.78, 106.43°) |
| OKLab | oklab(67.18% -0.0546 0.129) |
| OKLCH | oklch(67.18% 0.14 112.9) |
| XYZ | xyz(25.2509, 31.1379, 6.0463) |
| Luminance | 0.3114 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.06
Baby Poop Green
#8F9805
ΔE00 2.31
Vomit
#A2A415
ΔE00 2.92
Pea Soup Green
#94A617
ΔE00 3.16
Baby Shit Green
#889717
ΔE00 3.41
Puke
#A5A502
ΔE00 3.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979E20 #27209E
analogous
#9E6620 #979E20 #589E20
triadic
#979E20 #20979E #9E2097
tetradic
#979E20 #209E66 #27209E #9E2058
square
#979E20 #209E66 #27209E #9E2058
split-complementary
#979E20 #20589E #66209E
monochromatic
#36380B #666B16 #979E20 #C8D12A #D6DE5B
Accessibility & contrast
On white
2.91
#979E20 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#979E20 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #979E20
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979E20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979E20 | 1.00 | 2.91 | 7.23 | 7.23 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AB992C
Tritanopia (blue-blind)
#A29487
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #979e20; /* rgb */ color: rgb(151, 158, 32); /* oklch */ color: oklch(67.2% 0.140 112.9);
Tailwind
colors: {
custom: {
50: '#b9ba68',
500: '#979e20',
950: '#000000',
},
}SCSS
$custom: #979e20; $custom-light: #b9ba68; $custom-dark: #000000;
JSON
{
"hex": "#979e20",
"rgb": {
"r": 151,
"g": 158,
"b": 32
},
"hsl": {
"h": 63.333,
"s": 66.316,
"l": 37.255
},
"oklch": {
"l": 0.67181,
"c": 0.14004,
"h": 112.9
},
"luminance": 0.31137
}Semantic roles & 50–950 ramp
primary
#979E20
secondary
#5E58C2
accent
#3FE948
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A