#96822B#96822B
#96822B is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.9% C 0.107 H 96.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #96822B |
|---|---|
| RGB | rgb(150, 130, 43) |
| HSL | hsl(49, 55%, 38%) |
| HSV | hsv(49, 71%, 59%) |
| CMYK | cmyk(0%, 13.3%, 71.3%, 41.2%) |
| CIE-LAB | lab(54.68, -2.41, 47.73) |
| CIE-LCH | lch(54.68, 47.79, 92.89°) |
| OKLab | oklab(60.86% -0.0111 0.1066) |
| OKLCH | oklch(60.86% 0.107 96) |
| XYZ | xyz(20.9974, 22.6248, 5.5461) |
| Luminance | 0.2262 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.73
Diarrhea
#9F8303
ΔE00 4.15
Hazel
#8E7618
ΔE00 4.54
Puke Brown
#947706
ΔE00 4.97
Yellowish Brown
#9B7A01
ΔE00 5.15
Dark Mustard
#A88905
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96822B #2B3F96
analogous
#964C2B #96822B #74962B
triadic
#96822B #2B9682 #822B96
tetradic
#96822B #2B964C #2B3F96 #962B74
square
#96822B #2B964C #2B3F96 #962B74
split-complementary
#96822B #2B7496 #4C2B96
monochromatic
#373010 #66591D #96822B #C6AB39 #D4BF68
Accessibility & contrast
On white
3.80
#96822B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#96822B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #96822B
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96822B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96822B | 1.00 | 3.80 | 5.52 | 5.52 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F1F
Deuteranopia (green-blind)
#958630
Tritanopia (blue-blind)
#A27870
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #96822b; /* rgb */ color: rgb(150, 130, 43); /* oklch */ color: oklch(60.9% 0.107 96.0);
Tailwind
colors: {
custom: {
50: '#b8a66a',
500: '#96822b',
950: '#000000',
},
}SCSS
$custom: #96822b; $custom-light: #b8a66a; $custom-dark: #000000;
JSON
{
"hex": "#96822b",
"rgb": {
"r": 150,
"g": 130,
"b": 43
},
"hsl": {
"h": 48.785,
"s": 55.44,
"l": 37.843
},
"oklch": {
"l": 0.60856,
"c": 0.10722,
"h": 96
},
"luminance": 0.22624
}Semantic roles & 50–950 ramp
primary
#96822B
secondary
#6373BA
accent
#65DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A