#97822B#97822B
#97822B is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 61.0% C 0.107 H 95.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #97822B |
|---|---|
| RGB | rgb(151, 130, 43) |
| HSL | hsl(48, 56%, 38%) |
| HSV | hsv(48, 72%, 59%) |
| CMYK | cmyk(0%, 13.9%, 71.5%, 40.8%) |
| CIE-LAB | lab(54.78, -1.96, 47.86) |
| CIE-LCH | lch(54.78, 47.90, 92.34°) |
| OKLab | oklab(60.96% -0.0099 0.1069) |
| OKLCH | oklch(60.96% 0.107 95.3) |
| XYZ | xyz(21.1822, 22.7201, 5.5547) |
| Luminance | 0.2272 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.71
Diarrhea
#9F8303
ΔE00 3.97
Hazel
#8E7618
ΔE00 4.53
Puke Brown
#947706
ΔE00 4.84
Yellowish Brown
#9B7A01
ΔE00 4.93
Dark Mustard
#A88905
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97822B #2B4097
analogous
#974C2B #97822B #76972B
triadic
#97822B #2B9782 #822B97
tetradic
#97822B #2B974C #2B4097 #972B76
square
#97822B #2B974C #2B4097 #972B76
split-complementary
#97822B #2B7697 #4C2B97
monochromatic
#383010 #67591D #97822B #C7AB39 #D4BF68
Accessibility & contrast
On white
3.79
#97822B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#97822B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97822B
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97822B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97822B | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F1F
Deuteranopia (green-blind)
#958630
Tritanopia (blue-blind)
#A37870
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #97822b; /* rgb */ color: rgb(151, 130, 43); /* oklch */ color: oklch(61.0% 0.107 95.3);
Tailwind
colors: {
custom: {
50: '#b9a66a',
500: '#97822b',
950: '#000000',
},
}SCSS
$custom: #97822b; $custom-light: #b9a66a; $custom-dark: #000000;
JSON
{
"hex": "#97822b",
"rgb": {
"r": 151,
"g": 130,
"b": 43
},
"hsl": {
"h": 48.333,
"s": 55.67,
"l": 38.039
},
"oklch": {
"l": 0.60958,
"c": 0.10734,
"h": 95.3
},
"luminance": 0.22719
}Semantic roles & 50–950 ramp
primary
#97822B
secondary
#6374BB
accent
#66DF49
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A