#97802E#97802E
#97802E is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.5% C 0.104 H 93.2°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #97802E |
|---|---|
| RGB | rgb(151, 128, 46) |
| HSL | hsl(47, 53%, 39%) |
| HSV | hsv(47, 70%, 59%) |
| CMYK | cmyk(0%, 15.2%, 69.5%, 40.8%) |
| CIE-LAB | lab(54.26, -0.67, 46.02) |
| CIE-LCH | lch(54.26, 46.02, 90.83°) |
| OKLab | oklab(60.55% -0.0058 0.1035) |
| OKLCH | oklch(60.55% 0.104 93.2) |
| XYZ | xyz(20.9759, 22.2161, 5.7675) |
| Luminance | 0.2221 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.00
Hazel
#8E7618
ΔE00 4.05
Diarrhea
#9F8303
ΔE00 4.44
Puke Brown
#947706
ΔE00 4.46
Yellowish Brown
#9B7A01
ΔE00 4.62
Poo
#8F7303
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97802E #2E4597
analogous
#974B2E #97802E #79972E
triadic
#97802E #2E9780 #802E97
tetradic
#97802E #2E974B #2E4597 #972E79
square
#97802E #2E974B #2E4597 #972E79
split-complementary
#97802E #2E7997 #4B2E97
monochromatic
#393011 #685820 #97802E #C4A73E #D2BC6D
Accessibility & contrast
On white
3.86
#97802E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#97802E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97802E
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97802E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97802E | 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)
#8E7E23
Deuteranopia (green-blind)
#938532
Tritanopia (blue-blind)
#A3766F
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #97802e; /* rgb */ color: rgb(151, 128, 46); /* oklch */ color: oklch(60.5% 0.104 93.2);
Tailwind
colors: {
custom: {
50: '#b9a46b',
500: '#97802e',
950: '#000000',
},
}SCSS
$custom: #97802e; $custom-light: #b9a46b; $custom-dark: #000000;
JSON
{
"hex": "#97802e",
"rgb": {
"r": 151,
"g": 128,
"b": 46
},
"hsl": {
"h": 46.857,
"s": 53.299,
"l": 38.627
},
"oklch": {
"l": 0.60548,
"c": 0.10369,
"h": 93.2
},
"luminance": 0.22215
}Semantic roles & 50–950 ramp
primary
#97802E
secondary
#6779BA
accent
#6BDD4B
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A