#9E8A29#9E8A29
#9E8A29 is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.4% C 0.115 H 97.1°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8A29 |
|---|---|
| RGB | rgb(158, 138, 41) |
| HSL | hsl(50, 59%, 39%) |
| HSV | hsv(50, 74%, 62%) |
| CMYK | cmyk(0%, 12.7%, 74.1%, 38%) |
| CIE-LAB | lab(57.66, -3.29, 51.76) |
| CIE-LCH | lch(57.66, 51.87, 93.64°) |
| OKLab | oklab(63.39% -0.0143 0.1145) |
| OKLCH | oklch(63.39% 0.115 97.1) |
| XYZ | xyz(23.5905, 25.6074, 5.7975) |
| Luminance | 0.2561 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.77
Dark Mustard
#A88905
ΔE00 4.09
Baby Poo
#AB9004
ΔE00 4.42
Baby Shit Brown
#AD900D
ΔE00 4.54
Yellowy Brown
#AE8B0C
ΔE00 5.11
Baby Poop
#937C00
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8A29 #293D9E
analogous
#9E5029 #9E8A29 #789E29
triadic
#9E8A29 #299E8A #8A299E
tetradic
#9E8A29 #299E50 #293D9E #9E2978
square
#9E8A29 #299E50 #293D9E #9E2978
split-complementary
#9E8A29 #29789E #50299E
monochromatic
#3D3510 #6D601C #9E8A29 #CCB239 #D8C569
Accessibility & contrast
On white
3.43
#9E8A29 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.12
#9E8A29 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8A29
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8A29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8A29 | 1.00 | 3.43 | 6.12 | 6.12 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988719
Deuteranopia (green-blind)
#9D8D2F
Tritanopia (blue-blind)
#AB7F77
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9e8a29; /* rgb */ color: rgb(158, 138, 41); /* oklch */ color: oklch(63.4% 0.115 97.1);
Tailwind
colors: {
custom: {
50: '#beab6a',
500: '#9e8a29',
950: '#000000',
},
}SCSS
$custom: #9e8a29; $custom-light: #beab6a; $custom-dark: #000000;
JSON
{
"hex": "#9e8a29",
"rgb": {
"r": 158,
"g": 138,
"b": 41
},
"hsl": {
"h": 49.744,
"s": 58.794,
"l": 39.02
},
"oklch": {
"l": 0.63393,
"c": 0.11537,
"h": 97.1
},
"luminance": 0.25606
}Semantic roles & 50–950 ramp
primary
#9E8A29
secondary
#6474BF
accent
#61E246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A