#9E8A24#9E8A24
#9E8A24 is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.4% C 0.118 H 97.5°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8A24 |
|---|---|
| RGB | rgb(158, 138, 36) |
| HSL | hsl(50, 63%, 38%) |
| HSV | hsv(50, 77%, 62%) |
| CMYK | cmyk(0%, 12.7%, 77.2%, 38%) |
| CIE-LAB | lab(57.63, -3.52, 53.62) |
| CIE-LCH | lch(57.63, 53.73, 93.75°) |
| OKLab | oklab(63.36% -0.0155 0.1174) |
| OKLCH | oklch(63.36% 0.118 97.5) |
| XYZ | xyz(23.5087, 25.5747, 5.3669) |
| Luminance | 0.2557 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.50
Dark Mustard
#A88905
ΔE00 3.81
Baby Poo
#AB9004
ΔE00 4.07
Baby Shit Brown
#AD900D
ΔE00 4.25
Yellowy Brown
#AE8B0C
ΔE00 4.93
Baby Poop
#937C00
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8A24 #24389E
analogous
#9E4D24 #9E8A24 #759E24
triadic
#9E8A24 #249E8A #8A249E
tetradic
#9E8A24 #249E4D #24389E #9E2475
square
#9E8A24 #249E4D #24389E #9E2475
split-complementary
#9E8A24 #24759E #4D249E
monochromatic
#3A330D #6C5E19 #9E8A24 #D0B52F #DBC761
Accessibility & contrast
On white
3.43
#9E8A24 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#9E8A24 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8A24
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8A24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8A24 | 1.00 | 3.43 | 6.11 | 6.11 |
| #FFFFFF | 3.43 | 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)
#988710
Deuteranopia (green-blind)
#9E8D2B
Tritanopia (blue-blind)
#AB7F76
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9e8a24; /* rgb */ color: rgb(158, 138, 36); /* oklch */ color: oklch(63.4% 0.118 97.5);
Tailwind
colors: {
custom: {
50: '#beab67',
500: '#9e8a24',
950: '#000000',
},
}SCSS
$custom: #9e8a24; $custom-light: #beab67; $custom-dark: #000000;
JSON
{
"hex": "#9e8a24",
"rgb": {
"r": 158,
"g": 138,
"b": 36
},
"hsl": {
"h": 50.164,
"s": 62.887,
"l": 38.039
},
"oklch": {
"l": 0.63359,
"c": 0.11844,
"h": 97.5
},
"luminance": 0.25573
}Semantic roles & 50–950 ramp
primary
#9E8A24
secondary
#5E6EC0
accent
#5DE642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A