#897A2B#897A2B
#897A2B is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.8% C 0.100 H 98.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #897A2B |
|---|---|
| RGB | rgb(137, 122, 43) |
| HSL | hsl(50, 52%, 35%) |
| HSV | hsv(50, 69%, 54%) |
| CMYK | cmyk(0%, 10.9%, 68.6%, 46.3%) |
| CIE-LAB | lab(51.17, -3.91, 43.71) |
| CIE-LCH | lch(51.17, 43.89, 95.12°) |
| OKLab | oklab(57.77% -0.0146 0.0986) |
| OKLCH | oklch(57.77% 0.1 98.4) |
| XYZ | xyz(17.7129, 19.4127, 5.0991) |
| Luminance | 0.1941 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.57
Baby Poop
#937C00
ΔE00 4.91
Ugly Brown
#7D7103
ΔE00 4.92
Poo
#8F7303
ΔE00 5.43
Puke Brown
#947706
ΔE00 5.44
Olive
#808000
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897A2B #2B3A89
analogous
#894B2B #897A2B #69892B
triadic
#897A2B #2B897A #7A2B89
tetradic
#897A2B #2B894B #2B3A89 #892B69
square
#897A2B #2B894B #2B3A89 #892B69
split-complementary
#897A2B #2B6989 #4B2B89
monochromatic
#2C270E #5A511C #897A2B #B8A33A #CDBC61
Accessibility & contrast
On white
4.30
#897A2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#897A2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897A2B
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897A2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897A2B | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867721
Deuteranopia (green-blind)
#8A7C2F
Tritanopia (blue-blind)
#94716A
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #897a2b; /* rgb */ color: rgb(137, 122, 43); /* oklch */ color: oklch(57.8% 0.100 98.4);
Tailwind
colors: {
custom: {
50: '#aea069',
500: '#897a2b',
950: '#000000',
},
}SCSS
$custom: #897a2b; $custom-light: #aea069; $custom-dark: #000000;
JSON
{
"hex": "#897a2b",
"rgb": {
"r": 137,
"g": 122,
"b": 43
},
"hsl": {
"h": 50.426,
"s": 52.222,
"l": 35.294
},
"oklch": {
"l": 0.5777,
"c": 0.09968,
"h": 98.4
},
"luminance": 0.19412
}Semantic roles & 50–950 ramp
primary
#897A2B
secondary
#5C6AB3
accent
#63DC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A