#9E8A23#9E8A23
#9E8A23 is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.4% C 0.119 H 97.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8A23 |
|---|---|
| RGB | rgb(158, 138, 35) |
| HSL | hsl(50, 64%, 38%) |
| HSV | hsv(50, 78%, 62%) |
| CMYK | cmyk(0%, 12.7%, 77.8%, 38%) |
| CIE-LAB | lab(57.63, -3.56, 53.97) |
| CIE-LCH | lch(57.63, 54.09, 93.77°) |
| OKLab | oklab(63.35% -0.0157 0.118) |
| OKLCH | oklch(63.35% 0.119 97.6) |
| XYZ | xyz(23.4936, 25.5686, 5.2876) |
| Luminance | 0.2557 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.46
Dark Mustard
#A88905
ΔE00 3.76
Baby Poo
#AB9004
ΔE00 4.01
Baby Shit Brown
#AD900D
ΔE00 4.21
Yellowy Brown
#AE8B0C
ΔE00 4.90
Baby Poop
#937C00
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8A23 #23379E
analogous
#9E4C23 #9E8A23 #749E23
triadic
#9E8A23 #239E8A #8A239E
tetradic
#9E8A23 #239E4C #23379E #9E2374
square
#9E8A23 #239E4C #23379E #9E2374
split-complementary
#9E8A23 #23749E #4C239E
monochromatic
#3A320D #6C5E18 #9E8A23 #D0B62E #DCC860
Accessibility & contrast
On white
3.44
#9E8A23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#9E8A23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8A23
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8A23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8A23 | 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)
#98870D
Deuteranopia (green-blind)
#9E8D2A
Tritanopia (blue-blind)
#AB7F76
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9e8a23; /* rgb */ color: rgb(158, 138, 35); /* oklch */ color: oklch(63.4% 0.119 97.6);
Tailwind
colors: {
custom: {
50: '#beab67',
500: '#9e8a23',
950: '#000000',
},
}SCSS
$custom: #9e8a23; $custom-light: #beab67; $custom-dark: #000000;
JSON
{
"hex": "#9e8a23",
"rgb": {
"r": 158,
"g": 138,
"b": 35
},
"hsl": {
"h": 50.244,
"s": 63.731,
"l": 37.843
},
"oklch": {
"l": 0.63352,
"c": 0.11901,
"h": 97.6
},
"luminance": 0.25567
}Semantic roles & 50–950 ramp
primary
#9E8A23
secondary
#5C6DC1
accent
#5CE741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A