#9E8729#9E8729
#9E8729 is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.7% C 0.113 H 94.9°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8729 |
|---|---|
| RGB | rgb(158, 135, 41) |
| HSL | hsl(48, 59%, 39%) |
| HSV | hsv(48, 74%, 62%) |
| CMYK | cmyk(0%, 14.6%, 74.1%, 38%) |
| CIE-LAB | lab(56.84, -1.64, 50.96) |
| CIE-LCH | lch(56.84, 50.99, 91.84°) |
| OKLab | oklab(62.74% -0.0096 0.1128) |
| OKLCH | oklch(62.74% 0.113 94.9) |
| XYZ | xyz(23.1660, 24.7584, 5.6560) |
| Luminance | 0.2476 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.07
Dark Mustard
#A88905
ΔE00 3.80
Baby Poop
#937C00
ΔE00 4.58
Yellowy Brown
#AE8B0C
ΔE00 4.80
Baby Shit Brown
#AD900D
ΔE00 4.86
Baby Poo
#AB9004
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8729 #29409E
analogous
#9E4D29 #9E8729 #7B9E29
triadic
#9E8729 #299E87 #87299E
tetradic
#9E8729 #299E4D #29409E #9E297B
square
#9E8729 #299E4D #29409E #9E297B
split-complementary
#9E8729 #297B9E #4D299E
monochromatic
#3D3410 #6D5D1C #9E8729 #CCAF39 #D8C269
Accessibility & contrast
On white
3.53
#9E8729 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.95
#9E8729 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8729
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8729 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8729 | 1.00 | 3.53 | 5.95 | 5.95 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95841A
Deuteranopia (green-blind)
#9B8B2E
Tritanopia (blue-blind)
#AB7C74
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #9e8729; /* rgb */ color: rgb(158, 135, 41); /* oklch */ color: oklch(62.7% 0.113 94.9);
Tailwind
colors: {
custom: {
50: '#bea969',
500: '#9e8729',
950: '#000000',
},
}SCSS
$custom: #9e8729; $custom-light: #bea969; $custom-dark: #000000;
JSON
{
"hex": "#9e8729",
"rgb": {
"r": 158,
"g": 135,
"b": 41
},
"hsl": {
"h": 48.205,
"s": 58.794,
"l": 39.02
},
"oklch": {
"l": 0.62742,
"c": 0.11319,
"h": 94.9
},
"luminance": 0.24757
}Semantic roles & 50–950 ramp
primary
#9E8729
secondary
#6476BF
accent
#65E246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A