#9E9031#9E9031
#9E9031 is a light, moderate yellow. Relative luminance 0.274; OKLCH L 64.8% C 0.115 H 100.8°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9031 |
|---|---|
| RGB | rgb(158, 144, 49) |
| HSL | hsl(52, 53%, 41%) |
| HSV | hsv(52, 69%, 62%) |
| CMYK | cmyk(0%, 8.9%, 69%, 38%) |
| CIE-LAB | lab(59.38, -6.14, 50.21) |
| CIE-LCH | lch(59.38, 50.58, 96.97°) |
| OKLab | oklab(64.77% -0.0215 0.1127) |
| OKLCH | oklch(64.77% 0.115 100.8) |
| XYZ | xyz(24.6293, 27.4385, 6.9040) |
| Luminance | 0.2744 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.23
Baby Shit Brown
#AD900D
ΔE00 5.47
Dark Mustard
#A88905
ΔE00 5.99
Diarrhea
#9F8303
ΔE00 6.15
Brown Yellow
#B29705
ΔE00 6.23
Dark Khaki
#9B8F55
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9031 #313F9E
analogous
#9E5A31 #9E9031 #759E31
triadic
#9E9031 #319E90 #90319E
tetradic
#9E9031 #319E5A #313F9E #9E3175
square
#9E9031 #319E5A #313F9E #9E3175
split-complementary
#9E9031 #31759E #5A319E
monochromatic
#413B14 #6F6523 #9E9031 #C6B546 #D4C875
Accessibility & contrast
On white
3.24
#9E9031 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.49
#9E9031 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E9031
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9031 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9031 | 1.00 | 3.24 | 6.49 | 6.49 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8C24
Deuteranopia (green-blind)
#A19137
Tritanopia (blue-blind)
#AA867D
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #9e9031; /* rgb */ color: rgb(158, 144, 49); /* oklch */ color: oklch(64.8% 0.115 100.8);
Tailwind
colors: {
custom: {
50: '#beb06f',
500: '#9e9031',
950: '#000000',
},
}SCSS
$custom: #9e9031; $custom-light: #beb06f; $custom-dark: #000000;
JSON
{
"hex": "#9e9031",
"rgb": {
"r": 158,
"g": 144,
"b": 49
},
"hsl": {
"h": 52.294,
"s": 52.657,
"l": 40.588
},
"oklch": {
"l": 0.64772,
"c": 0.11473,
"h": 100.8
},
"luminance": 0.27437
}Semantic roles & 50–950 ramp
primary
#9E9031
secondary
#6E78BC
accent
#5EDC4C
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121008
muted
#817F7B