#9B871E#9B871E
#9B871E is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.4% C 0.119 H 97.6°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #9B871E |
|---|---|
| RGB | rgb(155, 135, 30) |
| HSL | hsl(50, 68%, 36%) |
| HSV | hsv(50, 81%, 61%) |
| CMYK | cmyk(0%, 12.9%, 80.6%, 39.2%) |
| CIE-LAB | lab(56.48, -3.48, 54.53) |
| CIE-LCH | lch(56.48, 54.64, 93.65°) |
| OKLab | oklab(62.37% -0.0158 0.1183) |
| OKLCH | oklch(62.37% 0.119 97.6) |
| XYZ | xyz(22.4171, 24.3914, 4.7553) |
| Luminance | 0.2439 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.91
Dark Mustard
#A88905
ΔE00 3.92
Baby Poop
#937C00
ΔE00 4.06
Baby Poo
#AB9004
ΔE00 4.62
Baby Shit Brown
#AD900D
ΔE00 4.84
Yellowy Brown
#AE8B0C
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B871E #1E329B
analogous
#9B491E #9B871E #719B1E
triadic
#9B871E #1E9B87 #871E9B
tetradic
#9B871E #1E9B49 #1E329B #9B1E71
square
#9B871E #1E9B49 #1E329B #9B1E71
split-complementary
#9B871E #1E719B #491E9B
monochromatic
#342E0A #685A14 #9B871E #CEB428 #DEC855
Accessibility & contrast
On white
3.57
#9B871E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#9B871E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B871E
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B871E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B871E | 1.00 | 3.57 | 5.88 | 5.88 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958402
Deuteranopia (green-blind)
#9B8A26
Tritanopia (blue-blind)
#A87C73
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9b871e; /* rgb */ color: rgb(155, 135, 30); /* oklch */ color: oklch(62.4% 0.119 97.6);
Tailwind
colors: {
custom: {
50: '#bca964',
500: '#9b871e',
950: '#000000',
},
}SCSS
$custom: #9b871e; $custom-light: #bca964; $custom-dark: #000000;
JSON
{
"hex": "#9b871e",
"rgb": {
"r": 155,
"g": 135,
"b": 30
},
"hsl": {
"h": 50.4,
"s": 67.568,
"l": 36.275
},
"oklch": {
"l": 0.62366,
"c": 0.11932,
"h": 97.6
},
"luminance": 0.2439
}Semantic roles & 50–950 ramp
primary
#9B871E
secondary
#5365C2
accent
#59EA3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A