#897C1E#897C1E
#897C1E is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.1% C 0.110 H 101.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #897C1E |
|---|---|
| RGB | rgb(137, 124, 30) |
| HSL | hsl(53, 64%, 33%) |
| HSV | hsv(53, 78%, 54%) |
| CMYK | cmyk(0%, 9.5%, 78.1%, 46.3%) |
| CIE-LAB | lab(51.64, -5.72, 49.48) |
| CIE-LCH | lch(51.64, 49.81, 96.59°) |
| OKLab | oklab(58.12% -0.0212 0.1083) |
| OKLCH | oklch(58.12% 0.11 101.1) |
| XYZ | xyz(17.7594, 19.8282, 4.1198) |
| Luminance | 0.1983 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.90
Hazel
#8E7618
ΔE00 3.93
Olive
#808000
ΔE00 4.45
Ugly Brown
#7D7103
ΔE00 4.53
Puke Brown
#947706
ΔE00 5.36
Poo
#8F7303
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897C1E #1E2B89
analogous
#89461E #897C1E #61891E
triadic
#897C1E #1E897C #7C1E89
tetradic
#897C1E #1E8946 #1E2B89 #891E61
square
#897C1E #1E8946 #1E2B89 #891E61
split-complementary
#897C1E #1E6189 #461E89
monochromatic
#252108 #574F13 #897C1E #BBA929 #D7C64A
Accessibility & contrast
On white
4.23
#897C1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#897C1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897C1E
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897C1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897C1E | 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)
#88780A
Deuteranopia (green-blind)
#8C7D25
Tritanopia (blue-blind)
#94736A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #897c1e; /* rgb */ color: rgb(137, 124, 30); /* oklch */ color: oklch(58.1% 0.110 101.1);
Tailwind
colors: {
custom: {
50: '#afa162',
500: '#897c1e',
950: '#000000',
},
}SCSS
$custom: #897c1e; $custom-light: #afa162; $custom-dark: #000000;
JSON
{
"hex": "#897c1e",
"rgb": {
"r": 137,
"g": 124,
"b": 30
},
"hsl": {
"h": 52.71,
"s": 64.072,
"l": 32.745
},
"oklch": {
"l": 0.58118,
"c": 0.11036,
"h": 101.1
},
"luminance": 0.19827
}Semantic roles & 50–950 ramp
primary
#897C1E
secondary
#4957BA
accent
#55E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A