#979922#979922
#979922 is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.0% C 0.134 H 110.6°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #979922 |
|---|---|
| RGB | rgb(151, 153, 34) |
| HSL | hsl(61, 64%, 37%) |
| HSV | hsv(61, 78%, 60%) |
| CMYK | cmyk(1.3%, 0%, 77.8%, 40%) |
| CIE-LAB | lab(61.20, -14.80, 57.36) |
| CIE-LCH | lch(61.20, 59.24, 104.47°) |
| OKLab | oklab(66.05% -0.047 0.1253) |
| OKLCH | oklch(66.05% 0.134 110.6) |
| XYZ | xyz(24.4433, 29.4780, 5.9153) |
| Luminance | 0.2948 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.00
Baby Poop Green
#8F9805
ΔE00 2.24
Baby Shit Green
#889717
ΔE00 3.56
Vomit
#A2A415
ΔE00 3.88
Puke
#A5A502
ΔE00 4.73
Pea Soup Green
#94A617
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979922 #242299
analogous
#996022 #979922 #5C9922
triadic
#979922 #229799 #992297
tetradic
#979922 #229960 #242299 #99225C
square
#979922 #229960 #242299 #99225C
split-complementary
#979922 #225C99 #602299
monochromatic
#34350C #666717 #979922 #C8CB2D #D8DB5B
Accessibility & contrast
On white
3.05
#979922 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.90
#979922 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #979922
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979922 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979922 | 1.00 | 3.05 | 6.90 | 6.90 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69201
Deuteranopia (green-blind)
#A7952C
Tritanopia (blue-blind)
#A28F83
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #979922; /* rgb */ color: rgb(151, 153, 34); /* oklch */ color: oklch(66.0% 0.134 110.6);
Tailwind
colors: {
custom: {
50: '#b9b668',
500: '#979922',
950: '#000000',
},
}SCSS
$custom: #979922; $custom-light: #b9b668; $custom-dark: #000000;
JSON
{
"hex": "#979922",
"rgb": {
"r": 151,
"g": 153,
"b": 34
},
"hsl": {
"h": 61.008,
"s": 63.636,
"l": 36.667
},
"oklch": {
"l": 0.66045,
"c": 0.13382,
"h": 110.6
},
"luminance": 0.29477
}Semantic roles & 50–950 ramp
primary
#979922
secondary
#5A58BF
accent
#41E744
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A