#96822F#96822F
#96822F is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.9% C 0.104 H 95.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #96822F |
|---|---|
| RGB | rgb(150, 130, 47) |
| HSL | hsl(48, 52%, 39%) |
| HSV | hsv(48, 69%, 59%) |
| CMYK | cmyk(0%, 13.3%, 68.7%, 41.2%) |
| CIE-LAB | lab(54.72, -2.18, 46.02) |
| CIE-LCH | lch(54.72, 46.07, 92.71°) |
| OKLab | oklab(60.89% -0.01 0.1038) |
| OKLCH | oklch(60.89% 0.104 95.5) |
| XYZ | xyz(21.0744, 22.6556, 5.9517) |
| Luminance | 0.2266 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.19
Diarrhea
#9F8303
ΔE00 4.58
Hazel
#8E7618
ΔE00 4.67
Puke Brown
#947706
ΔE00 5.21
Yellowish Brown
#9B7A01
ΔE00 5.41
Dark Mustard
#A88905
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96822F #2F4396
analogous
#964F2F #96822F #76962F
triadic
#96822F #2F9682 #822F96
tetradic
#96822F #2F964F #2F4396 #962F76
square
#96822F #2F964F #2F4396 #962F76
split-complementary
#96822F #2F7696 #4F2F96
monochromatic
#393112 #675A20 #96822F #C3A93F #D2BE6E
Accessibility & contrast
On white
3.80
#96822F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#96822F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #96822F
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96822F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96822F | 1.00 | 3.80 | 5.53 | 5.53 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F24
Deuteranopia (green-blind)
#948633
Tritanopia (blue-blind)
#A27871
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #96822f; /* rgb */ color: rgb(150, 130, 47); /* oklch */ color: oklch(60.9% 0.104 95.5);
Tailwind
colors: {
custom: {
50: '#b8a66c',
500: '#96822f',
950: '#000000',
},
}SCSS
$custom: #96822f; $custom-light: #b8a66c; $custom-dark: #000000;
JSON
{
"hex": "#96822f",
"rgb": {
"r": 150,
"g": 130,
"b": 47
},
"hsl": {
"h": 48.35,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.60892,
"c": 0.10423,
"h": 95.5
},
"luminance": 0.22655
}Semantic roles & 50–950 ramp
primary
#96822F
secondary
#6878B9
accent
#68DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A