#97821E#97821E
#97821E is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.9% C 0.115 H 96.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #97821E |
|---|---|
| RGB | rgb(151, 130, 30) |
| HSL | hsl(50, 67%, 35%) |
| HSV | hsv(50, 80%, 59%) |
| CMYK | cmyk(0%, 13.9%, 80.1%, 40.8%) |
| CIE-LAB | lab(54.70, -2.56, 52.78) |
| CIE-LCH | lch(54.70, 52.85, 92.78°) |
| OKLab | oklab(60.87% -0.013 0.1147) |
| OKLCH | oklch(60.87% 0.115 96.5) |
| XYZ | xyz(20.9806, 22.6395, 4.4928) |
| Luminance | 0.2264 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.64
Diarrhea
#9F8303
ΔE00 2.89
Yellowish Brown
#9B7A01
ΔE00 4.44
Puke Brown
#947706
ΔE00 4.44
Hazel
#8E7618
ΔE00 4.51
Dark Mustard
#A88905
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97821E #1E3397
analogous
#97461E #97821E #6F971E
triadic
#97821E #1E9782 #821E97
tetradic
#97821E #1E9746 #1E3397 #971E6F
square
#97821E #1E9746 #1E3397 #971E6F
split-complementary
#97821E #1E6F97 #461E97
monochromatic
#312A0A #645614 #97821E #CAAE28 #DDC553
Accessibility & contrast
On white
3.80
#97821E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#97821E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97821E
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97821E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97821E | 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)
#907F06
Deuteranopia (green-blind)
#968625
Tritanopia (blue-blind)
#A4776F
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #97821e; /* rgb */ color: rgb(151, 130, 30); /* oklch */ color: oklch(60.9% 0.115 96.5);
Tailwind
colors: {
custom: {
50: '#baa563',
500: '#97821e',
950: '#000000',
},
}SCSS
$custom: #97821e; $custom-light: #baa563; $custom-dark: #000000;
JSON
{
"hex": "#97821e",
"rgb": {
"r": 151,
"g": 130,
"b": 30
},
"hsl": {
"h": 49.587,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.60865,
"c": 0.11545,
"h": 96.5
},
"luminance": 0.22638
}Semantic roles & 50–950 ramp
primary
#97821E
secondary
#5164C0
accent
#5CEA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A