#9E8932#9E8932
#9E8932 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.3% C 0.108 H 95.5°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8932 |
|---|---|
| RGB | rgb(158, 137, 50) |
| HSL | hsl(48, 52%, 41%) |
| HSV | hsv(48, 68%, 62%) |
| CMYK | cmyk(0%, 13.3%, 68.4%, 38%) |
| CIE-LAB | lab(57.46, -2.25, 47.79) |
| CIE-LCH | lch(57.46, 47.84, 92.70°) |
| OKLab | oklab(63.25% -0.0103 0.1078) |
| OKLCH | oklch(63.25% 0.108 95.5) |
| XYZ | xyz(23.6231, 25.3919, 6.6738) |
| Luminance | 0.2539 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.29
Dark Mustard
#A88905
ΔE00 4.72
Baby Shit Brown
#AD900D
ΔE00 5.36
Baby Poo
#AB9004
ΔE00 5.39
Yellowy Brown
#AE8B0C
ΔE00 5.53
Baby Poop
#937C00
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8932 #32479E
analogous
#9E5332 #9E8932 #7D9E32
triadic
#9E8932 #329E89 #89329E
tetradic
#9E8932 #329E53 #32479E #9E327D
square
#9E8932 #329E53 #32479E #9E327D
split-complementary
#9E8932 #327D9E #53329E
monochromatic
#413815 #706123 #9E8932 #C5AD48 #D4C277
Accessibility & contrast
On white
3.45
#9E8932 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#9E8932 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8932
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8932 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8932 | 1.00 | 3.45 | 6.08 | 6.08 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978627
Deuteranopia (green-blind)
#9C8D37
Tritanopia (blue-blind)
#AA7F77
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9e8932; /* rgb */ color: rgb(158, 137, 50); /* oklch */ color: oklch(63.3% 0.108 95.5);
Tailwind
colors: {
custom: {
50: '#beab6f',
500: '#9e8932',
950: '#000000',
},
}SCSS
$custom: #9e8932; $custom-light: #beab6f; $custom-dark: #000000;
JSON
{
"hex": "#9e8932",
"rgb": {
"r": 158,
"g": 137,
"b": 50
},
"hsl": {
"h": 48.333,
"s": 51.923,
"l": 40.784
},
"oklch": {
"l": 0.63251,
"c": 0.10824,
"h": 95.5
},
"luminance": 0.25391
}Semantic roles & 50–950 ramp
primary
#9E8932
secondary
#707FBC
accent
#68DB4C
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A