#897E1D#897E1D
#897E1D is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.6% C 0.113 H 102.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #897E1D |
|---|---|
| RGB | rgb(137, 126, 29) |
| HSL | hsl(54, 65%, 33%) |
| HSV | hsv(54, 79%, 54%) |
| CMYK | cmyk(0%, 8%, 78.8%, 46.3%) |
| CIE-LAB | lab(52.21, -6.87, 50.36) |
| CIE-LCH | lch(52.21, 50.82, 97.77°) |
| OKLab | oklab(58.57% -0.0245 0.11) |
| OKLCH | oklch(58.57% 0.113 102.6) |
| XYZ | xyz(18.0000, 20.3296, 4.1380) |
| Luminance | 0.2033 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.71
Baby Poop
#937C00
ΔE00 4.25
Hazel
#8E7618
ΔE00 4.78
Ugly Brown
#7D7103
ΔE00 5.09
Puke Brown
#947706
ΔE00 6.04
Poo
#8F7303
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897E1D #1D2889
analogous
#89481D #897E1D #5E891D
triadic
#897E1D #1D897E #7E1D89
tetradic
#897E1D #1D8948 #1D2889 #891D5E
square
#897E1D #1D8948 #1D2889 #891D5E
split-complementary
#897E1D #1D5E89 #481D89
monochromatic
#242108 #565012 #897E1D #BCAC28 #D8CA48
Accessibility & contrast
On white
4.15
#897E1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#897E1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897E1D
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897E1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897E1D | 1.00 | 4.15 | 5.07 | 5.07 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A06
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#94756C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #897e1d; /* rgb */ color: rgb(137, 126, 29); /* oklch */ color: oklch(58.6% 0.113 102.6);
Tailwind
colors: {
custom: {
50: '#afa362',
500: '#897e1d',
950: '#000000',
},
}SCSS
$custom: #897e1d; $custom-light: #afa362; $custom-dark: #000000;
JSON
{
"hex": "#897e1d",
"rgb": {
"r": 137,
"g": 126,
"b": 29
},
"hsl": {
"h": 53.889,
"s": 65.06,
"l": 32.549
},
"oklch": {
"l": 0.58566,
"c": 0.11268,
"h": 102.6
},
"luminance": 0.20329
}Semantic roles & 50–950 ramp
primary
#897E1D
secondary
#4753BA
accent
#51E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A