#9E9820#9E9820
#9E9820 is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.4% C 0.132 H 106.5°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9820 |
|---|---|
| RGB | rgb(158, 152, 32) |
| HSL | hsl(57, 66%, 37%) |
| HSV | hsv(57, 80%, 62%) |
| CMYK | cmyk(0%, 3.8%, 79.7%, 38%) |
| CIE-LAB | lab(61.51, -11.22, 58.49) |
| CIE-LCH | lch(61.51, 59.55, 100.86°) |
| OKLab | oklab(66.43% -0.0376 0.127) |
| OKLCH | oklch(66.43% 0.132 106.5) |
| XYZ | xyz(25.5906, 29.8308, 5.7762) |
| Luminance | 0.2983 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.57
Baby Poop Green
#8F9805
ΔE00 4.07
Vomit
#A2A415
ΔE00 4.10
Puke
#A5A502
ΔE00 4.55
Baby Shit Green
#889717
ΔE00 5.71
Brown Yellow
#B29705
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9820 #20269E
analogous
#9E5920 #9E9820 #659E20
triadic
#9E9820 #209E98 #98209E
tetradic
#9E9820 #209E59 #20269E #9E2065
square
#9E9820 #209E59 #20269E #9E2065
split-complementary
#9E9820 #20659E #59209E
monochromatic
#38360B #6B6716 #9E9820 #D1C92A #DED75B
Accessibility & contrast
On white
3.01
#9E9820 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.97
#9E9820 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E9820
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9820 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9820 | 1.00 | 3.01 | 6.97 | 6.97 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A8972A
Tritanopia (blue-blind)
#AA8D82
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #9e9820; /* rgb */ color: rgb(158, 152, 32); /* oklch */ color: oklch(66.4% 0.132 106.5);
Tailwind
colors: {
custom: {
50: '#beb667',
500: '#9e9820',
950: '#000000',
},
}SCSS
$custom: #9e9820; $custom-light: #beb667; $custom-dark: #000000;
JSON
{
"hex": "#9e9820",
"rgb": {
"r": 158,
"g": 152,
"b": 32
},
"hsl": {
"h": 57.143,
"s": 66.316,
"l": 37.255
},
"oklch": {
"l": 0.66433,
"c": 0.13247,
"h": 106.5
},
"luminance": 0.2983
}Semantic roles & 50–950 ramp
primary
#9E9820
secondary
#585DC2
accent
#47E93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A