#97802C#97802C
#97802C is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.5% C 0.105 H 93.5°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #97802C |
|---|---|
| RGB | rgb(151, 128, 44) |
| HSL | hsl(47, 55%, 38%) |
| HSV | hsv(47, 71%, 59%) |
| CMYK | cmyk(0%, 15.2%, 70.9%, 40.8%) |
| CIE-LAB | lab(54.24, -0.78, 46.88) |
| CIE-LCH | lch(54.24, 46.89, 90.96°) |
| OKLab | oklab(60.53% -0.0064 0.105) |
| OKLCH | oklch(60.53% 0.105 93.5) |
| XYZ | xyz(20.9374, 22.2007, 5.5647) |
| Luminance | 0.2220 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.73
Hazel
#8E7618
ΔE00 3.95
Diarrhea
#9F8303
ΔE00 4.19
Puke Brown
#947706
ΔE00 4.29
Yellowish Brown
#9B7A01
ΔE00 4.44
Poo
#8F7303
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97802C #2C4397
analogous
#974A2C #97802C #78972C
triadic
#97802C #2C9780 #802C97
tetradic
#97802C #2C974A #2C4397 #972C78
square
#97802C #2C974A #2C4397 #972C78
split-complementary
#97802C #2C7897 #4A2C97
monochromatic
#383010 #68581E #97802C #C6A83A #D4BD6A
Accessibility & contrast
On white
3.86
#97802C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#97802C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97802C
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97802C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97802C | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7E21
Deuteranopia (green-blind)
#938530
Tritanopia (blue-blind)
#A3766F
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #97802c; /* rgb */ color: rgb(151, 128, 44); /* oklch */ color: oklch(60.5% 0.105 93.5);
Tailwind
colors: {
custom: {
50: '#b9a46a',
500: '#97802c',
950: '#000000',
},
}SCSS
$custom: #97802c; $custom-light: #b9a46a; $custom-dark: #000000;
JSON
{
"hex": "#97802c",
"rgb": {
"r": 151,
"g": 128,
"b": 44
},
"hsl": {
"h": 47.103,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.6053,
"c": 0.10519,
"h": 93.5
},
"luminance": 0.222
}Semantic roles & 50–950 ramp
primary
#97802C
secondary
#6577BA
accent
#6ADE4A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A