#979927#979927
#979927 is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.1% C 0.131 H 110.5°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #979927 |
|---|---|
| RGB | rgb(151, 153, 39) |
| HSL | hsl(61, 59%, 38%) |
| HSV | hsv(61, 75%, 60%) |
| CMYK | cmyk(1.3%, 0%, 74.5%, 40%) |
| CIE-LAB | lab(61.23, -14.58, 55.70) |
| CIE-LCH | lch(61.23, 57.58, 104.67°) |
| OKLab | oklab(66.08% -0.0459 0.1227) |
| OKLCH | oklch(66.08% 0.131 110.5) |
| XYZ | xyz(24.5208, 29.5089, 6.3232) |
| Luminance | 0.2951 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.39
Baby Poop Green
#8F9805
ΔE00 2.53
Baby Shit Green
#889717
ΔE00 3.57
Vomit
#A2A415
ΔE00 4.11
Puke
#A5A502
ΔE00 5.01
Pea Soup Green
#94A617
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979927 #292799
analogous
#996227 #979927 #5E9927
triadic
#979927 #279799 #992797
tetradic
#979927 #279962 #292799 #99275E
square
#979927 #279962 #292799 #99275E
split-complementary
#979927 #275E99 #622799
monochromatic
#37370E #67681B #979927 #C7CA33 #D5D763
Accessibility & contrast
On white
3.04
#979927 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.90
#979927 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #979927
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979927 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979927 | 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)
#A5920F
Deuteranopia (green-blind)
#A69530
Tritanopia (blue-blind)
#A28F83
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #979927; /* rgb */ color: rgb(151, 153, 39); /* oklch */ color: oklch(66.1% 0.131 110.5);
Tailwind
colors: {
custom: {
50: '#b9b66a',
500: '#979927',
950: '#000000',
},
}SCSS
$custom: #979927; $custom-light: #b9b66a; $custom-dark: #000000;
JSON
{
"hex": "#979927",
"rgb": {
"r": 151,
"g": 153,
"b": 39
},
"hsl": {
"h": 61.053,
"s": 59.375,
"l": 37.647
},
"oklch": {
"l": 0.66076,
"c": 0.13103,
"h": 110.5
},
"luminance": 0.29508
}Semantic roles & 50–950 ramp
primary
#979927
secondary
#615FBD
accent
#45E348
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A