#97872E#97872E
#97872E is a light, moderate yellow. Relative luminance 0.241; OKLCH L 62.1% C 0.109 H 98.9°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #97872E |
|---|---|
| RGB | rgb(151, 135, 46) |
| HSL | hsl(51, 53%, 39%) |
| HSV | hsv(51, 70%, 59%) |
| CMYK | cmyk(0%, 10.6%, 69.5%, 40.8%) |
| CIE-LAB | lab(56.19, -4.55, 48.02) |
| CIE-LCH | lch(56.19, 48.23, 95.42°) |
| OKLab | oklab(62.08% -0.0169 0.1078) |
| OKLCH | oklch(62.08% 0.109 98.9) |
| XYZ | xyz(21.9206, 24.1055, 6.0824) |
| Luminance | 0.2410 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.85
Baby Poop
#937C00
ΔE00 5.05
Dark Mustard
#A88905
ΔE00 5.88
Dark Khaki
#9B8F55
ΔE00 6.23
Baby Poo
#AB9004
ΔE00 6.40
Hazel
#8E7618
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97872E #2E3E97
analogous
#97522E #97872E #72972E
triadic
#97872E #2E9787 #872E97
tetradic
#97872E #2E9752 #2E3E97 #972E72
square
#97872E #2E9752 #2E3E97 #972E72
split-complementary
#97872E #2E7297 #522E97
monochromatic
#393311 #685D20 #97872E #C4B03E #D2C36D
Accessibility & contrast
On white
3.61
#97872E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.82
#97872E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97872E
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97872E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97872E | 1.00 | 3.61 | 5.82 | 5.82 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948322
Deuteranopia (green-blind)
#988933
Tritanopia (blue-blind)
#A37D75
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #97872e; /* rgb */ color: rgb(151, 135, 46); /* oklch */ color: oklch(62.1% 0.109 98.9);
Tailwind
colors: {
custom: {
50: '#b9a96c',
500: '#97872e',
950: '#000000',
},
}SCSS
$custom: #97872e; $custom-light: #b9a96c; $custom-dark: #000000;
JSON
{
"hex": "#97872e",
"rgb": {
"r": 151,
"g": 135,
"b": 46
},
"hsl": {
"h": 50.857,
"s": 53.299,
"l": 38.627
},
"oklch": {
"l": 0.62082,
"c": 0.10908,
"h": 98.9
},
"luminance": 0.24105
}Semantic roles & 50–950 ramp
primary
#97872E
secondary
#6774BA
accent
#61DD4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A