#96862B#96862B
#96862B is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.7% C 0.110 H 99.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #96862B |
|---|---|
| RGB | rgb(150, 134, 43) |
| HSL | hsl(51, 55%, 38%) |
| HSV | hsv(51, 71%, 59%) |
| CMYK | cmyk(0%, 10.7%, 71.3%, 41.2%) |
| CIE-LAB | lab(55.80, -4.63, 48.85) |
| CIE-LCH | lch(55.80, 49.07, 95.41°) |
| OKLab | oklab(61.74% -0.0174 0.109) |
| OKLCH | oklch(61.74% 0.11 99.1) |
| XYZ | xyz(21.5398, 23.7097, 5.7269) |
| Luminance | 0.2371 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.65
Diarrhea
#9F8303
ΔE00 4.65
Dark Mustard
#A88905
ΔE00 5.85
Hazel
#8E7618
ΔE00 6.07
Olive
#808000
ΔE00 6.40
Baby Poo
#AB9004
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96862B #2B3B96
analogous
#96502B #96862B #70962B
triadic
#96862B #2B9686 #862B96
tetradic
#96862B #2B9650 #2B3B96 #962B70
square
#96862B #2B9650 #2B3B96 #962B70
split-complementary
#96862B #2B7096 #502B96
monochromatic
#373110 #665C1D #96862B #C6B039 #D4C468
Accessibility & contrast
On white
3.66
#96862B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.74
#96862B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #96862B
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96862B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96862B | 1.00 | 3.66 | 5.74 | 5.74 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93821E
Deuteranopia (green-blind)
#978830
Tritanopia (blue-blind)
#A27C74
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #96862b; /* rgb */ color: rgb(150, 134, 43); /* oklch */ color: oklch(61.7% 0.110 99.1);
Tailwind
colors: {
custom: {
50: '#b8a86a',
500: '#96862b',
950: '#000000',
},
}SCSS
$custom: #96862b; $custom-light: #b8a86a; $custom-dark: #000000;
JSON
{
"hex": "#96862b",
"rgb": {
"r": 150,
"g": 134,
"b": 43
},
"hsl": {
"h": 51.028,
"s": 55.44,
"l": 37.843
},
"oklch": {
"l": 0.61737,
"c": 0.11039,
"h": 99.1
},
"luminance": 0.23709
}Semantic roles & 50–950 ramp
primary
#96862B
secondary
#6370BA
accent
#5FDF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A