#97872F#97872F
#97872F is a light, moderate yellow. Relative luminance 0.241; OKLCH L 62.1% C 0.108 H 98.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #97872F |
|---|---|
| RGB | rgb(151, 135, 47) |
| HSL | hsl(51, 53%, 39%) |
| HSV | hsv(51, 69%, 59%) |
| CMYK | cmyk(0%, 10.6%, 68.9%, 40.8%) |
| CIE-LAB | lab(56.20, -4.49, 47.59) |
| CIE-LCH | lch(56.20, 47.80, 95.39°) |
| OKLab | oklab(62.09% -0.0166 0.107) |
| OKLCH | oklch(62.09% 0.108 98.8) |
| XYZ | xyz(21.9406, 24.1135, 6.1875) |
| Luminance | 0.2411 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.93
Baby Poop
#937C00
ΔE00 5.12
Dark Mustard
#A88905
ΔE00 5.96
Dark Khaki
#9B8F55
ΔE00 6.11
Hazel
#8E7618
ΔE00 6.42
Baby Poo
#AB9004
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97872F #2F3F97
analogous
#97532F #97872F #73972F
triadic
#97872F #2F9787 #872F97
tetradic
#97872F #2F9753 #2F3F97 #972F73
square
#97872F #2F9753 #2F3F97 #972F73
split-complementary
#97872F #2F7397 #532F97
monochromatic
#3A3412 #685D20 #97872F #C3AF40 #D2C36E
Accessibility & contrast
On white
3.61
#97872F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.82
#97872F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97872F
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97872F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97872F | 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)
#948323
Deuteranopia (green-blind)
#988934
Tritanopia (blue-blind)
#A37D75
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #97872f; /* rgb */ color: rgb(151, 135, 47); /* oklch */ color: oklch(62.1% 0.108 98.8);
Tailwind
colors: {
custom: {
50: '#b9a96d',
500: '#97872f',
950: '#000000',
},
}SCSS
$custom: #97872f; $custom-light: #b9a96d; $custom-dark: #000000;
JSON
{
"hex": "#97872f",
"rgb": {
"r": 151,
"g": 135,
"b": 47
},
"hsl": {
"h": 50.769,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.62091,
"c": 0.10833,
"h": 98.8
},
"luminance": 0.24112
}Semantic roles & 50–950 ramp
primary
#97872F
secondary
#6875B9
accent
#62DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A