#96872B#96872B
#96872B is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 62.0% C 0.111 H 99.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #96872B |
|---|---|
| RGB | rgb(150, 135, 43) |
| HSL | hsl(52, 55%, 38%) |
| HSV | hsv(52, 71%, 59%) |
| CMYK | cmyk(0%, 10%, 71.3%, 41.2%) |
| CIE-LAB | lab(56.08, -5.18, 49.13) |
| CIE-LCH | lch(56.08, 49.40, 96.01°) |
| OKLab | oklab(61.96% -0.019 0.1096) |
| OKLCH | oklch(61.96% 0.111 99.8) |
| XYZ | xyz(21.6787, 23.9874, 5.7732) |
| Luminance | 0.2399 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.88
Baby Poop
#937C00
ΔE00 4.96
Dark Mustard
#A88905
ΔE00 5.96
Olive
#808000
ΔE00 6.28
Baby Poo
#AB9004
ΔE00 6.39
Hazel
#8E7618
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96872B #2B3A96
analogous
#96522B #96872B #6F962B
triadic
#96872B #2B9687 #872B96
tetradic
#96872B #2B9652 #2B3A96 #962B6F
square
#96872B #2B9652 #2B3A96 #962B6F
split-complementary
#96872B #2B6F96 #522B96
monochromatic
#373110 #665C1D #96872B #C6B239 #D4C568
Accessibility & contrast
On white
3.62
#96872B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#96872B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #96872B
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96872B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96872B | 1.00 | 3.62 | 5.80 | 5.80 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94831D
Deuteranopia (green-blind)
#988931
Tritanopia (blue-blind)
#A27D75
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #96872b; /* rgb */ color: rgb(150, 135, 43); /* oklch */ color: oklch(62.0% 0.111 99.8);
Tailwind
colors: {
custom: {
50: '#b8a96a',
500: '#96872b',
950: '#000000',
},
}SCSS
$custom: #96872b; $custom-light: #b8a96a; $custom-dark: #000000;
JSON
{
"hex": "#96872b",
"rgb": {
"r": 150,
"g": 135,
"b": 43
},
"hsl": {
"h": 51.589,
"s": 55.44,
"l": 37.843
},
"oklch": {
"l": 0.61958,
"c": 0.11124,
"h": 99.8
},
"luminance": 0.23986
}Semantic roles & 50–950 ramp
primary
#96872B
secondary
#636FBA
accent
#5EDF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A