#9E8A20#9E8A20
#9E8A20 is a light, vivid yellow. Relative luminance 0.256; OKLCH L 63.3% C 0.121 H 97.8°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8A20 |
|---|---|
| RGB | rgb(158, 138, 32) |
| HSL | hsl(50, 66%, 37%) |
| HSV | hsv(50, 80%, 62%) |
| CMYK | cmyk(0%, 12.7%, 79.7%, 38%) |
| CIE-LAB | lab(57.61, -3.68, 54.99) |
| CIE-LCH | lch(57.61, 55.12, 93.83°) |
| OKLab | oklab(63.33% -0.0164 0.1195) |
| OKLCH | oklch(63.33% 0.121 97.8) |
| XYZ | xyz(23.4510, 25.5516, 5.0629) |
| Luminance | 0.2555 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.35
Dark Mustard
#A88905
ΔE00 3.64
Baby Poo
#AB9004
ΔE00 3.84
Baby Shit Brown
#AD900D
ΔE00 4.08
Yellowy Brown
#AE8B0C
ΔE00 4.83
Baby Poop
#937C00
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8A20 #20349E
analogous
#9E4B20 #9E8A20 #739E20
triadic
#9E8A20 #209E8A #8A209E
tetradic
#9E8A20 #209E4B #20349E #9E2073
square
#9E8A20 #209E4B #20349E #9E2073
split-complementary
#9E8A20 #20739E #4B209E
monochromatic
#38310B #6B5E16 #9E8A20 #D1B62A #DEC95B
Accessibility & contrast
On white
3.44
#9E8A20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#9E8A20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8A20
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8A20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8A20 | 1.00 | 3.44 | 6.11 | 6.11 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998705
Deuteranopia (green-blind)
#9E8D28
Tritanopia (blue-blind)
#AB7F76
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9e8a20; /* rgb */ color: rgb(158, 138, 32); /* oklch */ color: oklch(63.3% 0.121 97.8);
Tailwind
colors: {
custom: {
50: '#bfab65',
500: '#9e8a20',
950: '#000000',
},
}SCSS
$custom: #9e8a20; $custom-light: #bfab65; $custom-dark: #000000;
JSON
{
"hex": "#9e8a20",
"rgb": {
"r": 158,
"g": 138,
"b": 32
},
"hsl": {
"h": 50.476,
"s": 66.316,
"l": 37.255
},
"oklch": {
"l": 0.63334,
"c": 0.12064,
"h": 97.8
},
"luminance": 0.2555
}Semantic roles & 50–950 ramp
primary
#9E8A20
secondary
#5869C2
accent
#5AE93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A