#96851E#96851E
#96851E is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.4% C 0.118 H 99.3°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #96851E |
|---|---|
| RGB | rgb(150, 133, 30) |
| HSL | hsl(52, 67%, 35%) |
| HSV | hsv(52, 80%, 59%) |
| CMYK | cmyk(0%, 11.3%, 80%, 41.2%) |
| CIE-LAB | lab(55.44, -4.68, 53.41) |
| CIE-LCH | lch(55.44, 53.62, 95.01°) |
| OKLab | oklab(61.43% -0.019 0.1161) |
| OKLCH | oklch(61.43% 0.118 99.3) |
| XYZ | xyz(21.2006, 23.3539, 4.6191) |
| Luminance | 0.2335 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.68
Diarrhea
#9F8303
ΔE00 3.70
Dark Mustard
#A88905
ΔE00 5.14
Hazel
#8E7618
ΔE00 5.75
Baby Poo
#AB9004
ΔE00 5.84
Puke Brown
#947706
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96851E #1E2F96
analogous
#96491E #96851E #6B961E
triadic
#96851E #1E9685 #851E96
tetradic
#96851E #1E9649 #1E2F96 #961E6B
square
#96851E #1E9649 #1E2F96 #961E6B
split-complementary
#96851E #1E6B96 #491E96
monochromatic
#302B0A #635814 #96851E #C9B228 #DCC952
Accessibility & contrast
On white
3.70
#96851E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.67
#96851E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #96851E
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96851E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96851E | 1.00 | 3.70 | 5.67 | 5.67 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938104
Deuteranopia (green-blind)
#978726
Tritanopia (blue-blind)
#A27A72
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #96851e; /* rgb */ color: rgb(150, 133, 30); /* oklch */ color: oklch(61.4% 0.118 99.3);
Tailwind
colors: {
custom: {
50: '#b9a863',
500: '#96851e',
950: '#000000',
},
}SCSS
$custom: #96851e; $custom-light: #b9a863; $custom-dark: #000000;
JSON
{
"hex": "#96851e",
"rgb": {
"r": 150,
"g": 133,
"b": 30
},
"hsl": {
"h": 51.5,
"s": 66.667,
"l": 35.294
},
"oklch": {
"l": 0.61425,
"c": 0.11765,
"h": 99.3
},
"luminance": 0.23353
}Semantic roles & 50–950 ramp
primary
#96851E
secondary
#5060BF
accent
#56EA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A