#97821F#97821F
#97821F is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.9% C 0.115 H 96.4°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #97821F |
|---|---|
| RGB | rgb(151, 130, 31) |
| HSL | hsl(50, 66%, 36%) |
| HSV | hsv(50, 79%, 59%) |
| CMYK | cmyk(0%, 13.9%, 79.5%, 40.8%) |
| CIE-LAB | lab(54.70, -2.52, 52.44) |
| CIE-LCH | lch(54.70, 52.51, 92.75°) |
| OKLab | oklab(60.87% -0.0128 0.1142) |
| OKLCH | oklch(60.87% 0.115 96.4) |
| XYZ | xyz(20.9936, 22.6447, 4.5611) |
| Luminance | 0.2264 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.70
Diarrhea
#9F8303
ΔE00 2.95
Puke Brown
#947706
ΔE00 4.45
Yellowish Brown
#9B7A01
ΔE00 4.46
Hazel
#8E7618
ΔE00 4.50
Dark Mustard
#A88905
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97821F #1F3497
analogous
#97461F #97821F #70971F
triadic
#97821F #1F9782 #821F97
tetradic
#97821F #1F9746 #1F3497 #971F70
square
#97821F #1F9746 #1F3497 #971F70
split-complementary
#97821F #1F7097 #461F97
monochromatic
#312B0A #645615 #97821F #CAAE29 #DCC454
Accessibility & contrast
On white
3.80
#97821F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#97821F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97821F
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97821F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97821F | 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)
#907F08
Deuteranopia (green-blind)
#958626
Tritanopia (blue-blind)
#A4776F
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #97821f; /* rgb */ color: rgb(151, 130, 31); /* oklch */ color: oklch(60.9% 0.115 96.4);
Tailwind
colors: {
custom: {
50: '#b9a564',
500: '#97821f',
950: '#000000',
},
}SCSS
$custom: #97821f; $custom-light: #b9a564; $custom-dark: #000000;
JSON
{
"hex": "#97821f",
"rgb": {
"r": 151,
"g": 130,
"b": 31
},
"hsl": {
"h": 49.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.60871,
"c": 0.11492,
"h": 96.4
},
"luminance": 0.22644
}Semantic roles & 50–950 ramp
primary
#97821F
secondary
#5265BF
accent
#5DE93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A