#97821C#97821C
#97821C is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.9% C 0.116 H 96.6°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #97821C |
|---|---|
| RGB | rgb(151, 130, 28) |
| HSL | hsl(50, 69%, 35%) |
| HSV | hsv(50, 81%, 59%) |
| CMYK | cmyk(0%, 13.9%, 81.5%, 40.8%) |
| CIE-LAB | lab(54.69, -2.63, 53.44) |
| CIE-LCH | lch(54.69, 53.51, 92.82°) |
| OKLab | oklab(60.85% -0.0134 0.1157) |
| OKLCH | oklch(60.85% 0.116 96.6) |
| XYZ | xyz(20.9559, 22.6296, 4.3625) |
| Luminance | 0.2263 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.54
Diarrhea
#9F8303
ΔE00 2.78
Yellowish Brown
#9B7A01
ΔE00 4.40
Puke Brown
#947706
ΔE00 4.42
Hazel
#8E7618
ΔE00 4.55
Dark Mustard
#A88905
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97821C #1C3197
analogous
#97441C #97821C #6F971C
triadic
#97821C #1C9782 #821C97
tetradic
#97821C #1C9744 #1C3197 #971C6F
square
#97821C #1C9744 #1C3197 #971C6F
split-complementary
#97821C #1C6F97 #441C97
monochromatic
#302909 #635612 #97821C #CBAE26 #DEC64F
Accessibility & contrast
On white
3.80
#97821C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#97821C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97821C
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97821C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97821C | 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)
#907F01
Deuteranopia (green-blind)
#968623
Tritanopia (blue-blind)
#A4776F
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #97821c; /* rgb */ color: rgb(151, 130, 28); /* oklch */ color: oklch(60.9% 0.116 96.6);
Tailwind
colors: {
custom: {
50: '#baa562',
500: '#97821c',
950: '#000000',
},
}SCSS
$custom: #97821c; $custom-light: #baa562; $custom-dark: #000000;
JSON
{
"hex": "#97821c",
"rgb": {
"r": 151,
"g": 130,
"b": 28
},
"hsl": {
"h": 49.756,
"s": 68.715,
"l": 35.098
},
"oklch": {
"l": 0.60853,
"c": 0.11647,
"h": 96.6
},
"luminance": 0.22628
}Semantic roles & 50–950 ramp
primary
#97821C
secondary
#4E62C1
accent
#5AEC3C
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A