#9E8824#9E8824
#9E8824 is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.9% C 0.117 H 96.1°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8824 |
|---|---|
| RGB | rgb(158, 136, 36) |
| HSL | hsl(49, 63%, 38%) |
| HSV | hsv(49, 77%, 62%) |
| CMYK | cmyk(0%, 13.9%, 77.2%, 38%) |
| CIE-LAB | lab(57.08, -2.42, 53.11) |
| CIE-LCH | lch(57.08, 53.16, 92.61°) |
| OKLab | oklab(62.92% -0.0124 0.1163) |
| OKLCH | oklch(62.92% 0.117 96.1) |
| XYZ | xyz(23.2244, 25.0061, 5.2721) |
| Luminance | 0.2500 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.89
Dark Mustard
#A88905
ΔE00 3.50
Baby Poo
#AB9004
ΔE00 4.32
Baby Shit Brown
#AD900D
ΔE00 4.40
Baby Poop
#937C00
ΔE00 4.57
Yellowy Brown
#AE8B0C
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8824 #243A9E
analogous
#9E4B24 #9E8824 #779E24
triadic
#9E8824 #249E88 #88249E
tetradic
#9E8824 #249E4B #243A9E #9E2477
square
#9E8824 #249E4B #243A9E #9E2477
split-complementary
#9E8824 #24779E #4B249E
monochromatic
#3A320D #6C5D19 #9E8824 #D0B32F #DBC561
Accessibility & contrast
On white
3.50
#9E8824 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.00
#9E8824 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8824
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8824 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8824 | 1.00 | 3.50 | 6.00 | 6.00 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978510
Deuteranopia (green-blind)
#9C8C2A
Tritanopia (blue-blind)
#AB7D75
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #9e8824; /* rgb */ color: rgb(158, 136, 36); /* oklch */ color: oklch(62.9% 0.117 96.1);
Tailwind
colors: {
custom: {
50: '#beaa67',
500: '#9e8824',
950: '#000000',
},
}SCSS
$custom: #9e8824; $custom-light: #beaa67; $custom-dark: #000000;
JSON
{
"hex": "#9e8824",
"rgb": {
"r": 158,
"g": 136,
"b": 36
},
"hsl": {
"h": 49.18,
"s": 62.887,
"l": 38.039
},
"oklch": {
"l": 0.62923,
"c": 0.11699,
"h": 96.1
},
"luminance": 0.25005
}Semantic roles & 50–950 ramp
primary
#9E8824
secondary
#5E6FC0
accent
#5FE642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A