#9E8D24#9E8D24
#9E8D24 is a light, vivid yellow. Relative luminance 0.264; OKLCH L 64.0% C 0.121 H 99.6°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8D24 |
|---|---|
| RGB | rgb(158, 141, 36) |
| HSL | hsl(52, 63%, 38%) |
| HSV | hsv(52, 77%, 62%) |
| CMYK | cmyk(0%, 10.8%, 77.2%, 38%) |
| CIE-LAB | lab(58.46, -5.16, 54.39) |
| CIE-LCH | lch(58.46, 54.64, 95.42°) |
| OKLab | oklab(64.02% -0.0201 0.1191) |
| OKLCH | oklch(64.02% 0.121 99.6) |
| XYZ | xyz(23.9450, 26.4474, 5.5123) |
| Luminance | 0.2645 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.05
Baby Shit Brown
#AD900D
ΔE00 4.37
Dark Mustard
#A88905
ΔE00 4.55
Diarrhea
#9F8303
ΔE00 4.58
Brown Yellow
#B29705
ΔE00 5.54
Yellowy Brown
#AE8B0C
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8D24 #24359E
analogous
#9E5024 #9E8D24 #729E24
triadic
#9E8D24 #249E8D #8D249E
tetradic
#9E8D24 #249E50 #24359E #9E2472
square
#9E8D24 #249E50 #24359E #9E2472
split-complementary
#9E8D24 #24729E #50249E
monochromatic
#3A340D #6C6119 #9E8D24 #D0B92F #DBCA61
Accessibility & contrast
On white
3.34
#9E8D24 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.29
#9E8D24 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8D24
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8D24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8D24 | 1.00 | 3.34 | 6.29 | 6.29 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B890E
Deuteranopia (green-blind)
#A08F2B
Tritanopia (blue-blind)
#AB8279
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9e8d24; /* rgb */ color: rgb(158, 141, 36); /* oklch */ color: oklch(64.0% 0.121 99.6);
Tailwind
colors: {
custom: {
50: '#beae67',
500: '#9e8d24',
950: '#000000',
},
}SCSS
$custom: #9e8d24; $custom-light: #beae67; $custom-dark: #000000;
JSON
{
"hex": "#9e8d24",
"rgb": {
"r": 158,
"g": 141,
"b": 36
},
"hsl": {
"h": 51.639,
"s": 62.887,
"l": 38.039
},
"oklch": {
"l": 0.64015,
"c": 0.12076,
"h": 99.6
},
"luminance": 0.26446
}Semantic roles & 50–950 ramp
primary
#9E8D24
secondary
#5E6BC0
accent
#59E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A