#9E8323#9E8323
#9E8323 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.8% C 0.114 H 92.4°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8323 |
|---|---|
| RGB | rgb(158, 131, 35) |
| HSL | hsl(47, 64%, 38%) |
| HSV | hsv(47, 78%, 62%) |
| CMYK | cmyk(0%, 17.1%, 77.8%, 38%) |
| CIE-LAB | lab(55.71, 0.31, 52.19) |
| CIE-LCH | lch(55.71, 52.19, 89.66°) |
| OKLab | oklab(61.84% -0.0047 0.1142) |
| OKLCH | oklch(61.84% 0.114 92.4) |
| XYZ | xyz(22.5215, 23.6244, 4.9635) |
| Luminance | 0.2362 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.30
Dark Mustard
#A88905
ΔE00 3.66
Yellowish Brown
#9B7A01
ΔE00 3.72
Baby Poop
#937C00
ΔE00 3.73
Puke Brown
#947706
ΔE00 4.51
Yellowy Brown
#AE8B0C
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8323 #233E9E
analogous
#9E4523 #9E8323 #7C9E23
triadic
#9E8323 #239E83 #83239E
tetradic
#9E8323 #239E45 #233E9E #9E237C
square
#9E8323 #239E45 #233E9E #9E237C
split-complementary
#9E8323 #237C9E #45239E
monochromatic
#3A300D #6C5918 #9E8323 #D0AD2E #DCC060
Accessibility & contrast
On white
3.67
#9E8323 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#9E8323 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8323
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8323 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8323 | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928111
Deuteranopia (green-blind)
#998929
Tritanopia (blue-blind)
#AB7871
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #9e8323; /* rgb */ color: rgb(158, 131, 35); /* oklch */ color: oklch(61.8% 0.114 92.4);
Tailwind
colors: {
custom: {
50: '#bfa666',
500: '#9e8323',
950: '#000000',
},
}SCSS
$custom: #9e8323; $custom-light: #bfa666; $custom-dark: #000000;
JSON
{
"hex": "#9e8323",
"rgb": {
"r": 158,
"g": 131,
"b": 35
},
"hsl": {
"h": 46.829,
"s": 63.731,
"l": 37.843
},
"oklch": {
"l": 0.61837,
"c": 0.11427,
"h": 92.4
},
"luminance": 0.23623
}Semantic roles & 50–950 ramp
primary
#9E8323
secondary
#5C72C1
accent
#65E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A