#897A1C#897A1C
#897A1C is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.7% C 0.110 H 99.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #897A1C |
|---|---|
| RGB | rgb(137, 122, 28) |
| HSL | hsl(52, 66%, 32%) |
| HSV | hsv(52, 80%, 54%) |
| CMYK | cmyk(0%, 10.9%, 79.6%, 46.3%) |
| CIE-LAB | lab(51.06, -4.68, 49.66) |
| CIE-LCH | lch(51.06, 49.88, 95.39°) |
| OKLab | oklab(57.65% -0.0185 0.1083) |
| OKLCH | oklch(57.65% 0.11 99.7) |
| XYZ | xyz(17.4865, 19.3221, 3.9069) |
| Luminance | 0.1932 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.11
Baby Poop
#937C00
ΔE00 3.56
Ugly Brown
#7D7103
ΔE00 4.01
Puke Brown
#947706
ΔE00 4.68
Poo
#8F7303
ΔE00 4.71
Olive
#808000
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897A1C #1C2B89
analogous
#89431C #897A1C #62891C
triadic
#897A1C #1C897A #7A1C89
tetradic
#897A1C #1C8943 #1C2B89 #891C62
square
#897A1C #1C8943 #1C2B89 #891C62
split-complementary
#897A1C #1C6289 #431C89
monochromatic
#231F07 #564D12 #897A1C #BCA726 #D9C546
Accessibility & contrast
On white
4.32
#897A1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#897A1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897A1C
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897A1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897A1C | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877706
Deuteranopia (green-blind)
#8B7C23
Tritanopia (blue-blind)
#947068
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #897a1c; /* rgb */ color: rgb(137, 122, 28); /* oklch */ color: oklch(57.7% 0.110 99.7);
Tailwind
colors: {
custom: {
50: '#afa061',
500: '#897a1c',
950: '#000000',
},
}SCSS
$custom: #897a1c; $custom-light: #afa061; $custom-dark: #000000;
JSON
{
"hex": "#897a1c",
"rgb": {
"r": 137,
"g": 122,
"b": 28
},
"hsl": {
"h": 51.743,
"s": 66.061,
"l": 32.353
},
"oklch": {
"l": 0.57654,
"c": 0.10984,
"h": 99.7
},
"luminance": 0.19321
}Semantic roles & 50–950 ramp
primary
#897A1C
secondary
#4656BB
accent
#56E93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A