#9E8D29#9E8D29
#9E8D29 is a light, moderate yellow. Relative luminance 0.265; OKLCH L 64.0% C 0.118 H 99.3°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8D29 |
|---|---|
| RGB | rgb(158, 141, 41) |
| HSL | hsl(51, 59%, 39%) |
| HSV | hsv(51, 74%, 62%) |
| CMYK | cmyk(0%, 10.8%, 74.1%, 38%) |
| CIE-LAB | lab(58.49, -4.93, 52.57) |
| CIE-LCH | lch(58.49, 52.80, 95.36°) |
| OKLab | oklab(64.05% -0.019 0.1162) |
| OKLCH | oklch(64.05% 0.118 99.3) |
| XYZ | xyz(24.0268, 26.4801, 5.9430) |
| Luminance | 0.2648 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.36
Baby Shit Brown
#AD900D
ΔE00 4.61
Diarrhea
#9F8303
ΔE00 4.75
Dark Mustard
#A88905
ΔE00 4.75
Yellowy Brown
#AE8B0C
ΔE00 5.73
Brown Yellow
#B29705
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8D29 #293A9E
analogous
#9E5329 #9E8D29 #759E29
triadic
#9E8D29 #299E8D #8D299E
tetradic
#9E8D29 #299E53 #293A9E #9E2975
square
#9E8D29 #299E53 #293A9E #9E2975
split-complementary
#9E8D29 #29759E #53299E
monochromatic
#3D3610 #6D621C #9E8D29 #CCB639 #D8C869
Accessibility & contrast
On white
3.34
#9E8D29 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.30
#9E8D29 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8D29
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8D29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8D29 | 1.00 | 3.34 | 6.30 | 6.30 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8918
Deuteranopia (green-blind)
#A08F2F
Tritanopia (blue-blind)
#AB8279
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9e8d29; /* rgb */ color: rgb(158, 141, 41); /* oklch */ color: oklch(64.0% 0.118 99.3);
Tailwind
colors: {
custom: {
50: '#beae6a',
500: '#9e8d29',
950: '#000000',
},
}SCSS
$custom: #9e8d29; $custom-light: #beae6a; $custom-dark: #000000;
JSON
{
"hex": "#9e8d29",
"rgb": {
"r": 158,
"g": 141,
"b": 41
},
"hsl": {
"h": 51.282,
"s": 58.794,
"l": 39.02
},
"oklch": {
"l": 0.64049,
"c": 0.11772,
"h": 99.3
},
"luminance": 0.26479
}Semantic roles & 50–950 ramp
primary
#9E8D29
secondary
#6471BF
accent
#5DE246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A