#897A2D#897A2D
#897A2D is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.8% C 0.098 H 98.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #897A2D |
|---|---|
| RGB | rgb(137, 122, 45) |
| HSL | hsl(50, 51%, 36%) |
| HSV | hsv(50, 67%, 54%) |
| CMYK | cmyk(0%, 10.9%, 67.2%, 46.3%) |
| CIE-LAB | lab(51.18, -3.79, 42.82) |
| CIE-LCH | lch(51.18, 42.99, 95.05°) |
| OKLab | oklab(57.79% -0.014 0.0971) |
| OKLCH | oklch(57.79% 0.098 98.2) |
| XYZ | xyz(17.7505, 19.4277, 5.2971) |
| Luminance | 0.1943 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.73
Ugly Brown
#7D7103
ΔE00 5.12
Baby Poop
#937C00
ΔE00 5.15
Poo
#8F7303
ΔE00 5.59
Puke Brown
#947706
ΔE00 5.60
Olive
#808000
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897A2D #2D3C89
analogous
#894C2D #897A2D #6A892D
triadic
#897A2D #2D897A #7A2D89
tetradic
#897A2D #2D894C #2D3C89 #892D6A
square
#897A2D #2D894C #2D3C89 #892D6A
split-complementary
#897A2D #2D6A89 #4C2D89
monochromatic
#2D280F #5B511E #897A2D #B7A33C #CCBB64
Accessibility & contrast
On white
4.30
#897A2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#897A2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897A2D
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897A2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897A2D | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867724
Deuteranopia (green-blind)
#8A7C31
Tritanopia (blue-blind)
#94716A
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #897a2d; /* rgb */ color: rgb(137, 122, 45); /* oklch */ color: oklch(57.8% 0.098 98.2);
Tailwind
colors: {
custom: {
50: '#aea06a',
500: '#897a2d',
950: '#000000',
},
}SCSS
$custom: #897a2d; $custom-light: #aea06a; $custom-dark: #000000;
JSON
{
"hex": "#897a2d",
"rgb": {
"r": 137,
"g": 122,
"b": 45
},
"hsl": {
"h": 50.217,
"s": 50.549,
"l": 35.686
},
"oklch": {
"l": 0.5779,
"c": 0.09806,
"h": 98.2
},
"luminance": 0.19427
}Semantic roles & 50–950 ramp
primary
#897A2D
secondary
#5F6DB3
accent
#65DA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A