#897B4F#897B4F
#897B4F is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.5% C 0.064 H 92.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #897B4F |
|---|---|
| RGB | rgb(137, 123, 79) |
| HSL | hsl(46, 27%, 42%) |
| HSV | hsv(46, 42%, 54%) |
| CMYK | cmyk(0%, 10.2%, 42.3%, 46.3%) |
| CIE-LAB | lab(51.89, -1.26, 26.00) |
| CIE-LCH | lch(51.89, 26.03, 92.78°) |
| OKLab | oklab(58.49% -0.0027 0.0637) |
| OKLCH | oklch(58.49% 0.064 92.5) |
| XYZ | xyz(18.8112, 20.0495, 10.2747) |
| Luminance | 0.2005 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Grey
#8D8468
ΔE00 5.92
Grey Brown
#7F7053
ΔE00 6.09
Brownish Grey
#86775F
ΔE00 6.61
Dirt
#8A6E45
ΔE00 7.05
Drab
#828344
ΔE00 7.06
Dull Brown
#876E4B
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897B4F #4F5D89
analogous
#895E4F #897B4F #7A894F
triadic
#897B4F #4F897B #7B4F89
tetradic
#897B4F #4F895E #4F5D89 #894F7A
square
#897B4F #4F895E #4F5D89 #894F7A
split-complementary
#897B4F #4F7A89 #5E4F89
monochromatic
#3B3522 #625839 #897B4F #AA9B6B #C0B592
Accessibility & contrast
On white
4.19
#897B4F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#897B4F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897B4F
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897B4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897B4F | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84794C
Deuteranopia (green-blind)
#887E51
Tritanopia (blue-blind)
#917570
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #897b4f; /* rgb */ color: rgb(137, 123, 79); /* oklch */ color: oklch(58.5% 0.064 92.5);
Tailwind
colors: {
custom: {
50: '#aca181',
500: '#897b4f',
950: '#000000',
},
}SCSS
$custom: #897b4f; $custom-light: #aca181; $custom-dark: #000000;
JSON
{
"hex": "#897b4f",
"rgb": {
"r": 137,
"g": 123,
"b": 79
},
"hsl": {
"h": 45.517,
"s": 26.852,
"l": 42.353
},
"oklch": {
"l": 0.58489,
"c": 0.06378,
"h": 92.5
},
"luminance": 0.20049
}Semantic roles & 50–950 ramp
primary
#897B4F
secondary
#8790AD
accent
#7BC365
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#100E0A
muted
#7F7E7C