#96861B#96861B
#96861B is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.6% C 0.120 H 100.1°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #96861B |
|---|---|
| RGB | rgb(150, 134, 27) |
| HSL | hsl(52, 69%, 35%) |
| HSV | hsv(52, 82%, 59%) |
| CMYK | cmyk(0%, 10.7%, 82%, 41.2%) |
| CIE-LAB | lab(55.70, -5.34, 54.61) |
| CIE-LCH | lch(55.70, 54.87, 95.58°) |
| OKLab | oklab(61.63% -0.0211 0.1181) |
| OKLCH | oklch(61.63% 0.12 100.1) |
| XYZ | xyz(21.3017, 23.6144, 4.4727) |
| Luminance | 0.2361 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.88
Baby Poop
#937C00
ΔE00 3.99
Dark Mustard
#A88905
ΔE00 5.18
Baby Poo
#AB9004
ΔE00 5.65
Olive
#808000
ΔE00 5.88
Baby Shit Brown
#AD900D
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96861B #1B2B96
analogous
#96481B #96861B #69961B
triadic
#96861B #1B9686 #861B96
tetradic
#96861B #1B9648 #1B2B96 #961B69
square
#96861B #1B9648 #1B2B96 #961B69
split-complementary
#96861B #1B6996 #481B96
monochromatic
#2E2908 #625812 #96861B #CAB424 #DFCC4D
Accessibility & contrast
On white
3.67
#96861B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#96861B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #96861B
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96861B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96861B | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#988824
Tritanopia (blue-blind)
#A27B72
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #96861b; /* rgb */ color: rgb(150, 134, 27); /* oklch */ color: oklch(61.6% 0.120 100.1);
Tailwind
colors: {
custom: {
50: '#b9a862',
500: '#96861b',
950: '#000000',
},
}SCSS
$custom: #96861b; $custom-light: #b9a862; $custom-dark: #000000;
JSON
{
"hex": "#96861b",
"rgb": {
"r": 150,
"g": 134,
"b": 27
},
"hsl": {
"h": 52.195,
"s": 69.492,
"l": 34.706
},
"oklch": {
"l": 0.6163,
"c": 0.11994,
"h": 100.1
},
"luminance": 0.23613
}Semantic roles & 50–950 ramp
primary
#96861B
secondary
#4C5BC1
accent
#52EC3B
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A