#96872C#96872C
#96872C 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 | #96872C |
|---|---|
| RGB | rgb(150, 135, 44) |
| HSL | hsl(52, 55%, 38%) |
| HSV | hsv(52, 71%, 59%) |
| CMYK | cmyk(0%, 10%, 70.7%, 41.2%) |
| CIE-LAB | lab(56.08, -5.12, 48.72) |
| CIE-LCH | lch(56.08, 48.99, 96.00°) |
| OKLab | oklab(61.97% -0.0187 0.1089) |
| OKLCH | oklch(61.97% 0.111 99.8) |
| XYZ | xyz(21.6973, 23.9948, 5.8710) |
| Luminance | 0.2399 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.95
Baby Poop
#937C00
ΔE00 5.02
Dark Mustard
#A88905
ΔE00 6.02
Olive
#808000
ΔE00 6.33
Dark Khaki
#9B8F55
ΔE00 6.46
Baby Poo
#AB9004
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96872C #2C3B96
analogous
#96522C #96872C #70962C
triadic
#96872C #2C9687 #872C96
tetradic
#96872C #2C9652 #2C3B96 #962C70
square
#96872C #2C9652 #2C3B96 #962C70
split-complementary
#96872C #2C7096 #522C96
monochromatic
#373210 #675C1E #96872C #C5B23A #D3C469
Accessibility & contrast
On white
3.62
#96872C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#96872C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #96872C
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96872C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96872C | 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)
#94831F
Deuteranopia (green-blind)
#988931
Tritanopia (blue-blind)
#A27D75
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #96872c; /* rgb */ color: rgb(150, 135, 44); /* oklch */ color: oklch(62.0% 0.111 99.8);
Tailwind
colors: {
custom: {
50: '#b8a96b',
500: '#96872c',
950: '#000000',
},
}SCSS
$custom: #96872c; $custom-light: #b8a96b; $custom-dark: #000000;
JSON
{
"hex": "#96872c",
"rgb": {
"r": 150,
"g": 135,
"b": 44
},
"hsl": {
"h": 51.509,
"s": 54.639,
"l": 38.039
},
"oklch": {
"l": 0.61967,
"c": 0.11052,
"h": 99.8
},
"luminance": 0.23994
}Semantic roles & 50–950 ramp
primary
#96872C
secondary
#6470BA
accent
#5FDE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A