#96802E#96802E
#96802E is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.4% C 0.104 H 93.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #96802E |
|---|---|
| RGB | rgb(150, 128, 46) |
| HSL | hsl(47, 53%, 38%) |
| HSV | hsv(47, 69%, 59%) |
| CMYK | cmyk(0%, 14.7%, 69.3%, 41.2%) |
| CIE-LAB | lab(54.15, -1.13, 45.88) |
| CIE-LCH | lch(54.15, 45.90, 91.41°) |
| OKLab | oklab(60.45% -0.0071 0.1033) |
| OKLCH | oklch(60.45% 0.104 93.9) |
| XYZ | xyz(20.7910, 22.1208, 5.7589) |
| Luminance | 0.2212 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.96
Hazel
#8E7618
ΔE00 4.02
Puke Brown
#947706
ΔE00 4.55
Diarrhea
#9F8303
ΔE00 4.56
Yellowish Brown
#9B7A01
ΔE00 4.81
Poo
#8F7303
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96802E #2E4496
analogous
#964C2E #96802E #78962E
triadic
#96802E #2E9680 #802E96
tetradic
#96802E #2E964C #2E4496 #962E78
square
#96802E #2E964C #2E4496 #962E78
split-complementary
#96802E #2E7896 #4C2E96
monochromatic
#383011 #675820 #96802E #C4A73E #D2BD6C
Accessibility & contrast
On white
3.87
#96802E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#96802E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #96802E
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96802E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96802E | 1.00 | 3.87 | 5.42 | 5.42 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7E23
Deuteranopia (green-blind)
#938432
Tritanopia (blue-blind)
#A2766F
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #96802e; /* rgb */ color: rgb(150, 128, 46); /* oklch */ color: oklch(60.4% 0.104 93.9);
Tailwind
colors: {
custom: {
50: '#b8a46b',
500: '#96802e',
950: '#000000',
},
}SCSS
$custom: #96802e; $custom-light: #b8a46b; $custom-dark: #000000;
JSON
{
"hex": "#96802e",
"rgb": {
"r": 150,
"g": 128,
"b": 46
},
"hsl": {
"h": 47.308,
"s": 53.061,
"l": 38.431
},
"oklch": {
"l": 0.60445,
"c": 0.10352,
"h": 93.9
},
"luminance": 0.2212
}Semantic roles & 50–950 ramp
primary
#96802E
secondary
#6778B9
accent
#6ADC4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A