#9E8929#9E8929
#9E8929 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.2% C 0.115 H 96.4°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8929 |
|---|---|
| RGB | rgb(158, 137, 41) |
| HSL | hsl(49, 59%, 39%) |
| HSV | hsv(49, 74%, 62%) |
| CMYK | cmyk(0%, 13.3%, 74.1%, 38%) |
| CIE-LAB | lab(57.39, -2.74, 51.50) |
| CIE-LCH | lch(57.39, 51.57, 93.05°) |
| OKLab | oklab(63.18% -0.0128 0.1139) |
| OKLCH | oklch(63.18% 0.115 96.4) |
| XYZ | xyz(23.4476, 25.3218, 5.7499) |
| Luminance | 0.2532 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.49
Dark Mustard
#A88905
ΔE00 3.94
Baby Poo
#AB9004
ΔE00 4.53
Baby Shit Brown
#AD900D
ΔE00 4.61
Yellowy Brown
#AE8B0C
ΔE00 4.97
Baby Poop
#937C00
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8929 #293E9E
analogous
#9E4F29 #9E8929 #799E29
triadic
#9E8929 #299E89 #89299E
tetradic
#9E8929 #299E4F #293E9E #9E2979
square
#9E8929 #299E4F #293E9E #9E2979
split-complementary
#9E8929 #29799E #4F299E
monochromatic
#3D3510 #6D5F1C #9E8929 #CCB139 #D8C469
Accessibility & contrast
On white
3.46
#9E8929 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#9E8929 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8929
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8929 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8929 | 1.00 | 3.46 | 6.06 | 6.06 |
| #FFFFFF | 3.46 | 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)
#978619
Deuteranopia (green-blind)
#9D8D2F
Tritanopia (blue-blind)
#AB7E76
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9e8929; /* rgb */ color: rgb(158, 137, 41); /* oklch */ color: oklch(63.2% 0.115 96.4);
Tailwind
colors: {
custom: {
50: '#beab6a',
500: '#9e8929',
950: '#000000',
},
}SCSS
$custom: #9e8929; $custom-light: #beab6a; $custom-dark: #000000;
JSON
{
"hex": "#9e8929",
"rgb": {
"r": 158,
"g": 137,
"b": 41
},
"hsl": {
"h": 49.231,
"s": 58.794,
"l": 39.02
},
"oklch": {
"l": 0.63176,
"c": 0.11463,
"h": 96.4
},
"luminance": 0.25321
}Semantic roles & 50–950 ramp
primary
#9E8929
secondary
#6474BF
accent
#62E246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A