#979E22#979E22
#979E22 is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.2% C 0.139 H 112.9°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #979E22 |
|---|---|
| RGB | rgb(151, 158, 34) |
| HSL | hsl(63, 65%, 38%) |
| HSV | hsv(63, 78%, 62%) |
| CMYK | cmyk(4.4%, 0%, 78.5%, 38%) |
| CIE-LAB | lab(62.63, -17.39, 58.66) |
| CIE-LCH | lch(62.63, 61.18, 106.51°) |
| OKLab | oklab(67.19% -0.0542 0.1281) |
| OKLCH | oklch(67.19% 0.139 112.9) |
| XYZ | xyz(25.2789, 31.1491, 6.1938) |
| Luminance | 0.3115 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.17
Baby Poop Green
#8F9805
ΔE00 2.38
Vomit
#A2A415
ΔE00 3.01
Pea Soup Green
#94A617
ΔE00 3.19
Baby Shit Green
#889717
ΔE00 3.39
Puke
#A5A502
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979E22 #29229E
analogous
#9E6722 #979E22 #599E22
triadic
#979E22 #22979E #9E2297
tetradic
#979E22 #229E67 #29229E #9E2259
square
#979E22 #229E67 #29229E #9E2259
split-complementary
#979E22 #22599E #67229E
monochromatic
#37390C #676C17 #979E22 #C7D02D #D5DC5E
Accessibility & contrast
On white
2.90
#979E22 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#979E22 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #979E22
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979E22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979E22 | 1.00 | 2.90 | 7.23 | 7.23 |
| #FFFFFF | 2.90 | 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)
#AA992D
Tritanopia (blue-blind)
#A29487
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #979e22; /* rgb */ color: rgb(151, 158, 34); /* oklch */ color: oklch(67.2% 0.139 112.9);
Tailwind
colors: {
custom: {
50: '#b9ba68',
500: '#979e22',
950: '#000000',
},
}SCSS
$custom: #979e22; $custom-light: #b9ba68; $custom-dark: #000000;
JSON
{
"hex": "#979e22",
"rgb": {
"r": 151,
"g": 158,
"b": 34
},
"hsl": {
"h": 63.387,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.67192,
"c": 0.13905,
"h": 112.9
},
"luminance": 0.31149
}Semantic roles & 50–950 ramp
primary
#979E22
secondary
#615BC1
accent
#40E84A
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A