#96841E#96841E
#96841E is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.2% C 0.117 H 98.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #96841E |
|---|---|
| RGB | rgb(150, 132, 30) |
| HSL | hsl(51, 67%, 35%) |
| HSV | hsv(51, 80%, 59%) |
| CMYK | cmyk(0%, 12%, 80%, 41.2%) |
| CIE-LAB | lab(55.16, -4.13, 53.16) |
| CIE-LCH | lch(55.16, 53.32, 94.44°) |
| OKLab | oklab(61.2% -0.0174 0.1156) |
| OKLCH | oklch(61.2% 0.117 98.6) |
| XYZ | xyz(21.0644, 23.0814, 4.5737) |
| Luminance | 0.2308 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.32
Diarrhea
#9F8303
ΔE00 3.47
Dark Mustard
#A88905
ΔE00 5.07
Hazel
#8E7618
ΔE00 5.34
Puke Brown
#947706
ΔE00 5.43
Yellowish Brown
#9B7A01
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96841E #1E3096
analogous
#96481E #96841E #6C961E
triadic
#96841E #1E9684 #841E96
tetradic
#96841E #1E9648 #1E3096 #961E6C
square
#96841E #1E9648 #1E3096 #961E6C
split-complementary
#96841E #1E6C96 #481E96
monochromatic
#302A0A #635714 #96841E #C9B128 #DCC852
Accessibility & contrast
On white
3.74
#96841E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#96841E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #96841E
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96841E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96841E | 1.00 | 3.74 | 5.62 | 5.62 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928005
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#A27971
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #96841e; /* rgb */ color: rgb(150, 132, 30); /* oklch */ color: oklch(61.2% 0.117 98.6);
Tailwind
colors: {
custom: {
50: '#b9a763',
500: '#96841e',
950: '#000000',
},
}SCSS
$custom: #96841e; $custom-light: #b9a763; $custom-dark: #000000;
JSON
{
"hex": "#96841e",
"rgb": {
"r": 150,
"g": 132,
"b": 30
},
"hsl": {
"h": 51,
"s": 66.667,
"l": 35.294
},
"oklch": {
"l": 0.61203,
"c": 0.11687,
"h": 98.6
},
"luminance": 0.2308
}Semantic roles & 50–950 ramp
primary
#96841E
secondary
#5061BF
accent
#58EA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A