#897D2C#897D2C
#897D2C is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.5% C 0.102 H 100.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #897D2C |
|---|---|
| RGB | rgb(137, 125, 44) |
| HSL | hsl(52, 51%, 35%) |
| HSV | hsv(52, 68%, 54%) |
| CMYK | cmyk(0%, 8.8%, 67.9%, 46.3%) |
| CIE-LAB | lab(52.03, -5.53, 44.16) |
| CIE-LCH | lch(52.03, 44.51, 97.13°) |
| OKLab | oklab(58.46% -0.0191 0.0997) |
| OKLCH | oklch(58.46% 0.102 100.8) |
| XYZ | xyz(18.1055, 20.1682, 5.3215) |
| Luminance | 0.2017 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.64
Baby Poop
#937C00
ΔE00 5.19
Olive
#808000
ΔE00 5.26
Ugly Brown
#7D7103
ΔE00 5.49
Drab
#828344
ΔE00 5.76
Puke Brown
#947706
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897D2C #2C3889
analogous
#894E2C #897D2C #66892C
triadic
#897D2C #2C897D #7D2C89
tetradic
#897D2C #2C894E #2C3889 #892C66
square
#897D2C #2C894E #2C3889 #892C66
split-complementary
#897D2C #2C6689 #4E2C89
monochromatic
#2C280E #5B531D #897D2C #B7A73B #CDBF63
Accessibility & contrast
On white
4.17
#897D2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#897D2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897D2C
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897D2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897D2C | 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)
#897922
Deuteranopia (green-blind)
#8C7E31
Tritanopia (blue-blind)
#93746C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #897d2c; /* rgb */ color: rgb(137, 125, 44); /* oklch */ color: oklch(58.5% 0.102 100.8);
Tailwind
colors: {
custom: {
50: '#aea26a',
500: '#897d2c',
950: '#000000',
},
}SCSS
$custom: #897d2c; $custom-light: #aea26a; $custom-dark: #000000;
JSON
{
"hex": "#897d2c",
"rgb": {
"r": 137,
"g": 125,
"b": 44
},
"hsl": {
"h": 52.258,
"s": 51.381,
"l": 35.49
},
"oklch": {
"l": 0.58455,
"c": 0.10154,
"h": 100.8
},
"luminance": 0.20167
}Semantic roles & 50–950 ramp
primary
#897D2C
secondary
#5E69B3
accent
#5FDB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A