#897A1D#897A1D
#897A1D is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.7% C 0.109 H 99.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #897A1D |
|---|---|
| RGB | rgb(137, 122, 29) |
| HSL | hsl(52, 65%, 33%) |
| HSV | hsv(52, 79%, 54%) |
| CMYK | cmyk(0%, 10.9%, 78.8%, 46.3%) |
| CIE-LAB | lab(51.07, -4.64, 49.31) |
| CIE-LCH | lch(51.07, 49.53, 95.38°) |
| OKLab | oklab(57.66% -0.0182 0.1077) |
| OKLCH | oklch(57.66% 0.109 99.6) |
| XYZ | xyz(17.4987, 19.3270, 3.9709) |
| Luminance | 0.1933 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.11
Baby Poop
#937C00
ΔE00 3.63
Ugly Brown
#7D7103
ΔE00 4.04
Puke Brown
#947706
ΔE00 4.70
Poo
#8F7303
ΔE00 4.74
Olive
#808000
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897A1D #1D2C89
analogous
#89441D #897A1D #62891D
triadic
#897A1D #1D897A #7A1D89
tetradic
#897A1D #1D8944 #1D2C89 #891D62
square
#897A1D #1D8944 #1D2C89 #891D62
split-complementary
#897A1D #1D6289 #441D89
monochromatic
#242008 #564D12 #897A1D #BCA728 #D8C448
Accessibility & contrast
On white
4.32
#897A1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#897A1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897A1D
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897A1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897A1D | 1.00 | 4.32 | 4.87 | 4.87 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877709
Deuteranopia (green-blind)
#8B7C24
Tritanopia (blue-blind)
#947068
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #897a1d; /* rgb */ color: rgb(137, 122, 29); /* oklch */ color: oklch(57.7% 0.109 99.6);
Tailwind
colors: {
custom: {
50: '#afa061',
500: '#897a1d',
950: '#000000',
},
}SCSS
$custom: #897a1d; $custom-light: #afa061; $custom-dark: #000000;
JSON
{
"hex": "#897a1d",
"rgb": {
"r": 137,
"g": 122,
"b": 29
},
"hsl": {
"h": 51.667,
"s": 65.06,
"l": 32.549
},
"oklch": {
"l": 0.5766,
"c": 0.10927,
"h": 99.6
},
"luminance": 0.19326
}Semantic roles & 50–950 ramp
primary
#897A1D
secondary
#4757BA
accent
#57E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A