#9E8532#9E8532
#9E8532 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.4% C 0.105 H 92.2°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8532 |
|---|---|
| RGB | rgb(158, 133, 50) |
| HSL | hsl(46, 52%, 41%) |
| HSV | hsv(46, 68%, 62%) |
| CMYK | cmyk(0%, 15.8%, 68.4%, 38%) |
| CIE-LAB | lab(56.36, -0.04, 46.65) |
| CIE-LCH | lch(56.36, 46.65, 90.05°) |
| OKLab | oklab(62.39% -0.004 0.1053) |
| OKLCH | oklch(62.39% 0.105 92.2) |
| XYZ | xyz(23.0650, 24.2757, 6.4878) |
| Luminance | 0.2427 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.04
Dark Mustard
#A88905
ΔE00 4.86
Baby Poop
#937C00
ΔE00 5.10
Yellowish Brown
#9B7A01
ΔE00 5.22
Yellowy Brown
#AE8B0C
ΔE00 5.53
Puke Brown
#947706
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8532 #324B9E
analogous
#9E4F32 #9E8532 #819E32
triadic
#9E8532 #329E85 #85329E
tetradic
#9E8532 #329E4F #324B9E #9E3281
square
#9E8532 #329E4F #324B9E #9E3281
split-complementary
#9E8532 #32819E #4F329E
monochromatic
#413715 #705E23 #9E8532 #C5A848 #D4BE77
Accessibility & contrast
On white
3.59
#9E8532 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#9E8532 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8532
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8532 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8532 | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938328
Deuteranopia (green-blind)
#998A36
Tritanopia (blue-blind)
#AB7A74
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9e8532; /* rgb */ color: rgb(158, 133, 50); /* oklch */ color: oklch(62.4% 0.105 92.2);
Tailwind
colors: {
custom: {
50: '#bea86e',
500: '#9e8532',
950: '#000000',
},
}SCSS
$custom: #9e8532; $custom-light: #bea86e; $custom-dark: #000000;
JSON
{
"hex": "#9e8532",
"rgb": {
"r": 158,
"g": 133,
"b": 50
},
"hsl": {
"h": 46.111,
"s": 51.923,
"l": 40.784
},
"oklch": {
"l": 0.62388,
"c": 0.10539,
"h": 92.2
},
"luminance": 0.24274
}Semantic roles & 50–950 ramp
primary
#9E8532
secondary
#7081BC
accent
#6EDB4C
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#130F07
muted
#827F7A