#96851F#96851F
#96851F is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.4% C 0.117 H 99.2°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #96851F |
|---|---|
| RGB | rgb(150, 133, 31) |
| HSL | hsl(51, 66%, 35%) |
| HSV | hsv(51, 79%, 59%) |
| CMYK | cmyk(0%, 11.3%, 79.3%, 41.2%) |
| CIE-LAB | lab(55.44, -4.64, 53.08) |
| CIE-LCH | lch(55.44, 53.28, 95.00°) |
| OKLab | oklab(61.43% -0.0187 0.1156) |
| OKLCH | oklch(61.43% 0.117 99.2) |
| XYZ | xyz(21.2136, 23.3591, 4.6874) |
| Luminance | 0.2336 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.71
Diarrhea
#9F8303
ΔE00 3.74
Dark Mustard
#A88905
ΔE00 5.18
Hazel
#8E7618
ΔE00 5.73
Puke Brown
#947706
ΔE00 5.86
Baby Poo
#AB9004
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96851F #1F3096
analogous
#964A1F #96851F #6B961F
triadic
#96851F #1F9685 #851F96
tetradic
#96851F #1F964A #1F3096 #961F6B
square
#96851F #1F964A #1F3096 #961F6B
split-complementary
#96851F #1F6B96 #4A1F96
monochromatic
#312B0A #635815 #96851F #C9B229 #DCC854
Accessibility & contrast
On white
3.70
#96851F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.67
#96851F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #96851F
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96851F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96851F | 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)
#938106
Deuteranopia (green-blind)
#978726
Tritanopia (blue-blind)
#A27B72
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #96851f; /* rgb */ color: rgb(150, 133, 31); /* oklch */ color: oklch(61.4% 0.117 99.2);
Tailwind
colors: {
custom: {
50: '#b9a864',
500: '#96851f',
950: '#000000',
},
}SCSS
$custom: #96851f; $custom-light: #b9a864; $custom-dark: #000000;
JSON
{
"hex": "#96851f",
"rgb": {
"r": 150,
"g": 133,
"b": 31
},
"hsl": {
"h": 51.429,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.61431,
"c": 0.11711,
"h": 99.2
},
"luminance": 0.23358
}Semantic roles & 50–950 ramp
primary
#96851F
secondary
#5261BF
accent
#57E93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A