#9E871D#9E871D
#9E871D is a light, vivid yellow. Relative luminance 0.247; OKLCH L 62.7% C 0.120 H 95.9°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9E871D |
|---|---|
| RGB | rgb(158, 135, 29) |
| HSL | hsl(49, 69%, 37%) |
| HSV | hsv(49, 82%, 62%) |
| CMYK | cmyk(0%, 14.6%, 81.6%, 38%) |
| CIE-LAB | lab(56.77, -2.14, 55.23) |
| CIE-LCH | lch(56.77, 55.27, 92.22°) |
| OKLab | oklab(62.66% -0.0123 0.1194) |
| OKLCH | oklch(62.66% 0.12 95.9) |
| XYZ | xyz(22.9876, 24.6871, 4.7164) |
| Luminance | 0.2469 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.22
Dark Mustard
#A88905
ΔE00 3.05
Baby Poo
#AB9004
ΔE00 4.10
Baby Poop
#937C00
ΔE00 4.12
Baby Shit Brown
#AD900D
ΔE00 4.22
Yellowy Brown
#AE8B0C
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E871D #1D349E
analogous
#9E461D #9E871D #759E1D
triadic
#9E871D #1D9E87 #871D9E
tetradic
#9E871D #1D9E46 #1D349E #9E1D75
square
#9E871D #1D9E46 #1D349E #9E1D75
split-complementary
#9E871D #1D759E #461D9E
monochromatic
#372F0A #6A5B14 #9E871D #D2B326 #E0C756
Accessibility & contrast
On white
3.54
#9E871D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.94
#9E871D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E871D
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E871D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E871D | 1.00 | 3.54 | 5.94 | 5.94 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#9C8B25
Tritanopia (blue-blind)
#AB7C73
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #9e871d; /* rgb */ color: rgb(158, 135, 29); /* oklch */ color: oklch(62.7% 0.120 95.9);
Tailwind
colors: {
custom: {
50: '#bfa963',
500: '#9e871d',
950: '#000000',
},
}SCSS
$custom: #9e871d; $custom-light: #bfa963; $custom-dark: #000000;
JSON
{
"hex": "#9e871d",
"rgb": {
"r": 158,
"g": 135,
"b": 29
},
"hsl": {
"h": 49.302,
"s": 68.984,
"l": 36.667
},
"oklch": {
"l": 0.62664,
"c": 0.12003,
"h": 95.9
},
"luminance": 0.24686
}Semantic roles & 50–950 ramp
primary
#9E871D
secondary
#5467C3
accent
#5BEC3C
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A