#897D2A#897D2A
#897D2A is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.4% C 0.103 H 101.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #897D2A |
|---|---|
| RGB | rgb(137, 125, 42) |
| HSL | hsl(52, 53%, 35%) |
| HSV | hsv(52, 69%, 54%) |
| CMYK | cmyk(0%, 8.8%, 69.3%, 46.3%) |
| CIE-LAB | lab(52.01, -5.65, 45.03) |
| CIE-LCH | lch(52.01, 45.38, 97.15°) |
| OKLab | oklab(58.44% -0.0196 0.1012) |
| OKLCH | oklch(58.44% 0.103 101) |
| XYZ | xyz(18.0688, 20.1535, 5.1283) |
| Luminance | 0.2015 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.55
Baby Poop
#937C00
ΔE00 4.98
Olive
#808000
ΔE00 5.04
Ugly Brown
#7D7103
ΔE00 5.35
Drab
#828344
ΔE00 5.95
Puke Brown
#947706
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897D2A #2A3689
analogous
#894D2A #897D2A #66892A
triadic
#897D2A #2A897D #7D2A89
tetradic
#897D2A #2A894D #2A3689 #892A66
square
#897D2A #2A894D #2A3689 #892A66
split-complementary
#897D2A #2A6689 #4D2A89
monochromatic
#2B280D #5A521C #897D2A #B8A838 #CEC05F
Accessibility & contrast
On white
4.17
#897D2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#897D2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897D2A
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897D2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897D2A | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89791F
Deuteranopia (green-blind)
#8C7E2F
Tritanopia (blue-blind)
#94746C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #897d2a; /* rgb */ color: rgb(137, 125, 42); /* oklch */ color: oklch(58.4% 0.103 101.0);
Tailwind
colors: {
custom: {
50: '#aea268',
500: '#897d2a',
950: '#000000',
},
}SCSS
$custom: #897d2a; $custom-light: #aea268; $custom-dark: #000000;
JSON
{
"hex": "#897d2a",
"rgb": {
"r": 137,
"g": 125,
"b": 42
},
"hsl": {
"h": 52.421,
"s": 53.073,
"l": 35.098
},
"oklch": {
"l": 0.58437,
"c": 0.10311,
"h": 101
},
"luminance": 0.20153
}Semantic roles & 50–950 ramp
primary
#897D2A
secondary
#5B66B4
accent
#5EDC4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A