#897D1E#897D1E
#897D1E is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.3% C 0.111 H 101.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #897D1E |
|---|---|
| RGB | rgb(137, 125, 30) |
| HSL | hsl(53, 64%, 33%) |
| HSV | hsv(53, 78%, 54%) |
| CMYK | cmyk(0%, 8.8%, 78.1%, 46.3%) |
| CIE-LAB | lab(51.93, -6.27, 49.75) |
| CIE-LCH | lch(51.93, 50.14, 97.18°) |
| OKLab | oklab(58.35% -0.0227 0.1089) |
| OKLCH | oklch(58.35% 0.111 101.8) |
| XYZ | xyz(17.8853, 20.0801, 4.1618) |
| Luminance | 0.2008 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.08
Olive
#808000
ΔE00 4.10
Hazel
#8E7618
ΔE00 4.35
Ugly Brown
#7D7103
ΔE00 4.80
Puke Brown
#947706
ΔE00 5.71
Poo
#8F7303
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897D1E #1E2A89
analogous
#89471E #897D1E #5F891E
triadic
#897D1E #1E897D #7D1E89
tetradic
#897D1E #1E8947 #1E2A89 #891E5F
square
#897D1E #1E8947 #1E2A89 #891E5F
split-complementary
#897D1E #1E5F89 #471E89
monochromatic
#252108 #574F13 #897D1E #BBAB29 #D7C84A
Accessibility & contrast
On white
4.19
#897D1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#897D1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897D1E
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897D1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897D1E | 1.00 | 4.19 | 5.02 | 5.02 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897909
Deuteranopia (green-blind)
#8D7E25
Tritanopia (blue-blind)
#94746B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #897d1e; /* rgb */ color: rgb(137, 125, 30); /* oklch */ color: oklch(58.3% 0.111 101.8);
Tailwind
colors: {
custom: {
50: '#afa262',
500: '#897d1e',
950: '#000000',
},
}SCSS
$custom: #897d1e; $custom-light: #afa262; $custom-dark: #000000;
JSON
{
"hex": "#897d1e",
"rgb": {
"r": 137,
"g": 125,
"b": 30
},
"hsl": {
"h": 53.271,
"s": 64.072,
"l": 32.745
},
"oklch": {
"l": 0.58345,
"c": 0.11123,
"h": 101.8
},
"luminance": 0.20079
}Semantic roles & 50–950 ramp
primary
#897D1E
secondary
#4956BA
accent
#53E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A