#897D2F#897D2F
#897D2F is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.5% C 0.099 H 100.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #897D2F |
|---|---|
| RGB | rgb(137, 125, 47) |
| HSL | hsl(52, 49%, 36%) |
| HSV | hsv(52, 66%, 54%) |
| CMYK | cmyk(0%, 8.8%, 65.7%, 46.3%) |
| CIE-LAB | lab(52.05, -5.33, 42.83) |
| CIE-LCH | lch(52.05, 43.16, 97.10°) |
| OKLab | oklab(58.49% -0.0181 0.0974) |
| OKLCH | oklch(58.49% 0.099 100.6) |
| XYZ | xyz(18.1640, 20.1916, 5.6294) |
| Luminance | 0.2019 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.81
Drab
#828344
ΔE00 5.49
Baby Poop
#937C00
ΔE00 5.51
Olive
#808000
ΔE00 5.61
Ugly Brown
#7D7103
ΔE00 5.74
Puke Brown
#947706
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897D2F #2F3B89
analogous
#89502F #897D2F #68892F
triadic
#897D2F #2F897D #7D2F89
tetradic
#897D2F #2F8950 #2F3B89 #892F68
square
#897D2F #2F8950 #2F3B89 #892F68
split-complementary
#897D2F #2F6889 #502F89
monochromatic
#2E2A10 #5B531F #897D2F #B7A73F #CBBE67
Accessibility & contrast
On white
4.17
#897D2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#897D2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897D2F
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897D2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897D2F | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887926
Deuteranopia (green-blind)
#8C7E33
Tritanopia (blue-blind)
#93746D
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #897d2f; /* rgb */ color: rgb(137, 125, 47); /* oklch */ color: oklch(58.5% 0.099 100.6);
Tailwind
colors: {
custom: {
50: '#aea26b',
500: '#897d2f',
950: '#000000',
},
}SCSS
$custom: #897d2f; $custom-light: #aea26b; $custom-dark: #000000;
JSON
{
"hex": "#897d2f",
"rgb": {
"r": 137,
"g": 125,
"b": 47
},
"hsl": {
"h": 52,
"s": 48.913,
"l": 36.078
},
"oklch": {
"l": 0.58485,
"c": 0.09906,
"h": 100.6
},
"luminance": 0.20191
}Semantic roles & 50–950 ramp
primary
#897D2F
secondary
#626CB2
accent
#62D84F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A