#96871E#96871E
#96871E is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.9% C 0.119 H 100.7°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #96871E |
|---|---|
| RGB | rgb(150, 135, 30) |
| HSL | hsl(53, 67%, 35%) |
| HSV | hsv(53, 80%, 59%) |
| CMYK | cmyk(0%, 10%, 80%, 41.2%) |
| CIE-LAB | lab(55.99, -5.78, 53.91) |
| CIE-LCH | lch(55.99, 54.22, 96.12°) |
| OKLab | oklab(61.87% -0.022 0.1172) |
| OKLCH | oklch(61.87% 0.119 100.7) |
| XYZ | xyz(21.4771, 23.9067, 4.7112) |
| Luminance | 0.2391 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.26
Baby Poop
#937C00
ΔE00 4.44
Dark Mustard
#A88905
ΔE00 5.40
Baby Poo
#AB9004
ΔE00 5.71
Olive
#808000
ΔE00 5.83
Baby Shit Brown
#AD900D
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96871E #1E2D96
analogous
#964B1E #96871E #69961E
triadic
#96871E #1E9687 #871E96
tetradic
#96871E #1E964B #1E2D96 #961E69
square
#96871E #1E964B #1E2D96 #961E69
split-complementary
#96871E #1E6996 #4B1E96
monochromatic
#302B0A #635914 #96871E #C9B528 #DCCB52
Accessibility & contrast
On white
3.63
#96871E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#96871E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #96871E
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96871E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96871E | 1.00 | 3.63 | 5.78 | 5.78 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958303
Deuteranopia (green-blind)
#998926
Tritanopia (blue-blind)
#A27D73
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #96871e; /* rgb */ color: rgb(150, 135, 30); /* oklch */ color: oklch(61.9% 0.119 100.7);
Tailwind
colors: {
custom: {
50: '#b9a964',
500: '#96871e',
950: '#000000',
},
}SCSS
$custom: #96871e; $custom-light: #b9a964; $custom-dark: #000000;
JSON
{
"hex": "#96871e",
"rgb": {
"r": 150,
"g": 135,
"b": 30
},
"hsl": {
"h": 52.5,
"s": 66.667,
"l": 35.294
},
"oklch": {
"l": 0.61868,
"c": 0.11925,
"h": 100.7
},
"luminance": 0.23906
}Semantic roles & 50–950 ramp
primary
#96871E
secondary
#505EBF
accent
#54EA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A