#897C1F#897C1F
#897C1F is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.1% C 0.110 H 101.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #897C1F |
|---|---|
| RGB | rgb(137, 124, 31) |
| HSL | hsl(53, 63%, 33%) |
| HSV | hsv(53, 77%, 54%) |
| CMYK | cmyk(0%, 9.5%, 77.4%, 46.3%) |
| CIE-LAB | lab(51.65, -5.67, 49.12) |
| CIE-LCH | lch(51.65, 49.45, 96.59°) |
| OKLab | oklab(58.13% -0.0209 0.1078) |
| OKLCH | oklch(58.13% 0.11 101) |
| XYZ | xyz(17.7723, 19.8334, 4.1882) |
| Luminance | 0.1983 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.93
Baby Poop
#937C00
ΔE00 3.96
Olive
#808000
ΔE00 4.51
Ugly Brown
#7D7103
ΔE00 4.55
Puke Brown
#947706
ΔE00 5.39
Poo
#8F7303
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897C1F #1F2C89
analogous
#89471F #897C1F #61891F
triadic
#897C1F #1F897C #7C1F89
tetradic
#897C1F #1F8947 #1F2C89 #891F61
square
#897C1F #1F8947 #1F2C89 #891F61
split-complementary
#897C1F #1F6189 #471F89
monochromatic
#252208 #574F14 #897C1F #BBA92A #D6C54C
Accessibility & contrast
On white
4.23
#897C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#897C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897C1F
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897C1F | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88780C
Deuteranopia (green-blind)
#8C7D26
Tritanopia (blue-blind)
#94736A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #897c1f; /* rgb */ color: rgb(137, 124, 31); /* oklch */ color: oklch(58.1% 0.110 101.0);
Tailwind
colors: {
custom: {
50: '#afa162',
500: '#897c1f',
950: '#000000',
},
}SCSS
$custom: #897c1f; $custom-light: #afa162; $custom-dark: #000000;
JSON
{
"hex": "#897c1f",
"rgb": {
"r": 137,
"g": 124,
"b": 31
},
"hsl": {
"h": 52.642,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.58125,
"c": 0.10978,
"h": 101
},
"luminance": 0.19833
}Semantic roles & 50–950 ramp
primary
#897C1F
secondary
#4B58B9
accent
#56E642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A