#9E8923#9E8923
#9E8923 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.1% C 0.118 H 96.9°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8923 |
|---|---|
| RGB | rgb(158, 137, 35) |
| HSL | hsl(50, 64%, 38%) |
| HSV | hsv(50, 78%, 62%) |
| CMYK | cmyk(0%, 13.3%, 77.8%, 38%) |
| CIE-LAB | lab(57.35, -3.01, 53.72) |
| CIE-LCH | lch(57.35, 53.80, 93.21°) |
| OKLab | oklab(63.13% -0.0142 0.1174) |
| OKLCH | oklch(63.13% 0.118 96.9) |
| XYZ | xyz(23.3508, 25.2830, 5.2400) |
| Luminance | 0.2528 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.13
Dark Mustard
#A88905
ΔE00 3.58
Baby Poo
#AB9004
ΔE00 4.11
Baby Shit Brown
#AD900D
ΔE00 4.25
Yellowy Brown
#AE8B0C
ΔE00 4.73
Baby Poop
#937C00
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8923 #23389E
analogous
#9E4B23 #9E8923 #759E23
triadic
#9E8923 #239E89 #89239E
tetradic
#9E8923 #239E4B #23389E #9E2375
square
#9E8923 #239E4B #23389E #9E2375
split-complementary
#9E8923 #23759E #4B239E
monochromatic
#3A320D #6C5E18 #9E8923 #D0B42E #DCC760
Accessibility & contrast
On white
3.47
#9E8923 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#9E8923 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8923
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8923 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8923 | 1.00 | 3.47 | 6.06 | 6.06 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98860E
Deuteranopia (green-blind)
#9D8D2A
Tritanopia (blue-blind)
#AB7E76
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9e8923; /* rgb */ color: rgb(158, 137, 35); /* oklch */ color: oklch(63.1% 0.118 96.9);
Tailwind
colors: {
custom: {
50: '#beab66',
500: '#9e8923',
950: '#000000',
},
}SCSS
$custom: #9e8923; $custom-light: #beab66; $custom-dark: #000000;
JSON
{
"hex": "#9e8923",
"rgb": {
"r": 158,
"g": 137,
"b": 35
},
"hsl": {
"h": 49.756,
"s": 63.731,
"l": 37.843
},
"oklch": {
"l": 0.63134,
"c": 0.11828,
"h": 96.9
},
"luminance": 0.25282
}Semantic roles & 50–950 ramp
primary
#9E8923
secondary
#5C6DC1
accent
#5DE741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A