#897D1F#897D1F
#897D1F is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.4% C 0.111 H 101.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #897D1F |
|---|---|
| RGB | rgb(137, 125, 31) |
| HSL | hsl(53, 63%, 33%) |
| HSV | hsv(53, 77%, 54%) |
| CMYK | cmyk(0%, 8.8%, 77.4%, 46.3%) |
| CIE-LAB | lab(51.93, -6.23, 49.39) |
| CIE-LCH | lch(51.93, 49.78, 97.19°) |
| OKLab | oklab(58.35% -0.0225 0.1083) |
| OKLCH | oklch(58.35% 0.111 101.7) |
| XYZ | xyz(17.8983, 20.0853, 4.2301) |
| Luminance | 0.2009 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.14
Olive
#808000
ΔE00 4.15
Hazel
#8E7618
ΔE00 4.35
Ugly Brown
#7D7103
ΔE00 4.83
Puke Brown
#947706
ΔE00 5.73
Poo
#8F7303
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897D1F #1F2B89
analogous
#89481F #897D1F #60891F
triadic
#897D1F #1F897D #7D1F89
tetradic
#897D1F #1F8948 #1F2B89 #891F60
square
#897D1F #1F8948 #1F2B89 #891F60
split-complementary
#897D1F #1F6089 #481F89
monochromatic
#252208 #574F14 #897D1F #BBAB2A #D6C74C
Accessibility & contrast
On white
4.19
#897D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#897D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897D1F
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897D1F | 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)
#89790C
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#94746B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #897d1f; /* rgb */ color: rgb(137, 125, 31); /* oklch */ color: oklch(58.4% 0.111 101.7);
Tailwind
colors: {
custom: {
50: '#afa263',
500: '#897d1f',
950: '#000000',
},
}SCSS
$custom: #897d1f; $custom-light: #afa263; $custom-dark: #000000;
JSON
{
"hex": "#897d1f",
"rgb": {
"r": 137,
"g": 125,
"b": 31
},
"hsl": {
"h": 53.208,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.58351,
"c": 0.11063,
"h": 101.7
},
"luminance": 0.20085
}Semantic roles & 50–950 ramp
primary
#897D1F
secondary
#4B57B9
accent
#54E642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A