#979926#979926
#979926 is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.1% C 0.132 H 110.5°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #979926 |
|---|---|
| RGB | rgb(151, 153, 38) |
| HSL | hsl(61, 60%, 37%) |
| HSV | hsv(61, 75%, 60%) |
| CMYK | cmyk(1.3%, 0%, 75.2%, 40%) |
| CIE-LAB | lab(61.22, -14.63, 56.05) |
| CIE-LCH | lch(61.22, 57.92, 104.63°) |
| OKLab | oklab(66.07% -0.0462 0.1233) |
| OKLCH | oklch(66.07% 0.132 110.5) |
| XYZ | xyz(24.5044, 29.5024, 6.2371) |
| Luminance | 0.2950 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.31
Baby Poop Green
#8F9805
ΔE00 2.47
Baby Shit Green
#889717
ΔE00 3.56
Vomit
#A2A415
ΔE00 4.06
Puke
#A5A502
ΔE00 4.95
Pea Soup Green
#94A617
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979926 #282699
analogous
#996126 #979926 #5E9926
triadic
#979926 #269799 #992697
tetradic
#979926 #269961 #282699 #99265E
square
#979926 #269961 #282699 #99265E
split-complementary
#979926 #265E99 #612699
monochromatic
#36370E #67681A #979926 #C7CA32 #D6D862
Accessibility & contrast
On white
3.04
#979926 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.90
#979926 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #979926
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979926 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979926 | 1.00 | 3.04 | 6.90 | 6.90 |
| #FFFFFF | 3.04 | 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)
#A5920D
Deuteranopia (green-blind)
#A6952F
Tritanopia (blue-blind)
#A28F83
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #979926; /* rgb */ color: rgb(151, 153, 38); /* oklch */ color: oklch(66.1% 0.132 110.5);
Tailwind
colors: {
custom: {
50: '#b9b66a',
500: '#979926',
950: '#000000',
},
}SCSS
$custom: #979926; $custom-light: #b9b66a; $custom-dark: #000000;
JSON
{
"hex": "#979926",
"rgb": {
"r": 151,
"g": 153,
"b": 38
},
"hsl": {
"h": 61.043,
"s": 60.209,
"l": 37.451
},
"oklch": {
"l": 0.66069,
"c": 0.13162,
"h": 110.5
},
"luminance": 0.29502
}Semantic roles & 50–950 ramp
primary
#979926
secondary
#5F5EBD
accent
#44E347
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A