#897E1E#897E1E
#897E1E is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.6% C 0.112 H 102.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #897E1E |
|---|---|
| RGB | rgb(137, 126, 30) |
| HSL | hsl(54, 64%, 33%) |
| HSV | hsv(54, 78%, 54%) |
| CMYK | cmyk(0%, 8%, 78.1%, 46.3%) |
| CIE-LAB | lab(52.21, -6.82, 50.01) |
| CIE-LCH | lch(52.21, 50.47, 97.77°) |
| OKLab | oklab(58.57% -0.0243 0.1094) |
| OKLCH | oklch(58.57% 0.112 102.5) |
| XYZ | xyz(18.0126, 20.3346, 4.2042) |
| Luminance | 0.2033 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.77
Baby Poop
#937C00
ΔE00 4.30
Hazel
#8E7618
ΔE00 4.78
Ugly Brown
#7D7103
ΔE00 5.11
Puke Brown
#947706
ΔE00 6.06
Poo
#8F7303
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897E1E #1E2989
analogous
#89491E #897E1E #5E891E
triadic
#897E1E #1E897E #7E1E89
tetradic
#897E1E #1E8949 #1E2989 #891E5E
square
#897E1E #1E8949 #1E2989 #891E5E
split-complementary
#897E1E #1E5E89 #491E89
monochromatic
#252208 #575013 #897E1E #BBAC29 #D7C94A
Accessibility & contrast
On white
4.14
#897E1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#897E1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897E1E
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897E1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897E1E | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 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)
#8A7A09
Deuteranopia (green-blind)
#8E7F25
Tritanopia (blue-blind)
#94756C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #897e1e; /* rgb */ color: rgb(137, 126, 30); /* oklch */ color: oklch(58.6% 0.112 102.5);
Tailwind
colors: {
custom: {
50: '#afa362',
500: '#897e1e',
950: '#000000',
},
}SCSS
$custom: #897e1e; $custom-light: #afa362; $custom-dark: #000000;
JSON
{
"hex": "#897e1e",
"rgb": {
"r": 137,
"g": 126,
"b": 30
},
"hsl": {
"h": 53.832,
"s": 64.072,
"l": 32.745
},
"oklch": {
"l": 0.58572,
"c": 0.1121,
"h": 102.5
},
"luminance": 0.20334
}Semantic roles & 50–950 ramp
primary
#897E1E
secondary
#4955BA
accent
#52E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A