#897D2D#897D2D
#897D2D is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.5% C 0.101 H 100.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #897D2D |
|---|---|
| RGB | rgb(137, 125, 45) |
| HSL | hsl(52, 51%, 36%) |
| HSV | hsv(52, 67%, 54%) |
| CMYK | cmyk(0%, 8.8%, 67.2%, 46.3%) |
| CIE-LAB | lab(52.04, -5.46, 43.72) |
| CIE-LCH | lch(52.04, 44.06, 97.12°) |
| OKLab | oklab(58.47% -0.0188 0.099) |
| OKLCH | oklch(58.47% 0.101 100.7) |
| XYZ | xyz(18.1246, 20.1758, 5.4217) |
| Luminance | 0.2018 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.69
Baby Poop
#937C00
ΔE00 5.29
Olive
#808000
ΔE00 5.37
Ugly Brown
#7D7103
ΔE00 5.57
Drab
#828344
ΔE00 5.67
Puke Brown
#947706
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897D2D #2D3989
analogous
#894F2D #897D2D #67892D
triadic
#897D2D #2D897D #7D2D89
tetradic
#897D2D #2D894F #2D3989 #892D67
square
#897D2D #2D894F #2D3989 #892D67
split-complementary
#897D2D #2D6789 #4F2D89
monochromatic
#2D290F #5B531E #897D2D #B7A73C #CCBF64
Accessibility & contrast
On white
4.17
#897D2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#897D2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897D2D
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897D2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897D2D | 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)
#897923
Deuteranopia (green-blind)
#8C7E31
Tritanopia (blue-blind)
#93746C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #897d2d; /* rgb */ color: rgb(137, 125, 45); /* oklch */ color: oklch(58.5% 0.101 100.7);
Tailwind
colors: {
custom: {
50: '#aea26a',
500: '#897d2d',
950: '#000000',
},
}SCSS
$custom: #897d2d; $custom-light: #aea26a; $custom-dark: #000000;
JSON
{
"hex": "#897d2d",
"rgb": {
"r": 137,
"g": 125,
"b": 45
},
"hsl": {
"h": 52.174,
"s": 50.549,
"l": 35.686
},
"oklch": {
"l": 0.58465,
"c": 0.10073,
"h": 100.7
},
"luminance": 0.20175
}Semantic roles & 50–950 ramp
primary
#897D2D
secondary
#5F6AB3
accent
#60DA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A