#897E37#897E37
#897E37 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.8% C 0.093 H 100.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #897E37 |
|---|---|
| RGB | rgb(137, 126, 55) |
| HSL | hsl(52, 43%, 38%) |
| HSV | hsv(52, 60%, 54%) |
| CMYK | cmyk(0%, 8%, 59.9%, 46.3%) |
| CIE-LAB | lab(52.42, -5.30, 39.39) |
| CIE-LCH | lch(52.42, 39.75, 97.66°) |
| OKLab | oklab(58.8% -0.0171 0.0912) |
| OKLCH | oklch(58.8% 0.093 100.6) |
| XYZ | xyz(18.4676, 20.5166, 6.6010) |
| Luminance | 0.2052 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.54
Hazel
#8E7618
ΔE00 5.75
Olive
#808000
ΔE00 6.43
Baby Poop
#937C00
ΔE00 6.61
Ugly Brown
#7D7103
ΔE00 6.75
Dark Khaki
#9B8F55
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897E37 #374289
analogous
#895537 #897E37 #6B8937
triadic
#897E37 #37897E #7E3789
tetradic
#897E37 #378955 #374289 #89376B
square
#897E37 #378955 #374289 #89376B
split-complementary
#897E37 #376B89 #553789
monochromatic
#322E14 #5D5625 #897E37 #B5A649 #C7BC73
Accessibility & contrast
On white
4.12
#897E37 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#897E37 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897E37
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897E37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897E37 | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897B30
Deuteranopia (green-blind)
#8C7F3A
Tritanopia (blue-blind)
#93766E
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #897e37; /* rgb */ color: rgb(137, 126, 55); /* oklch */ color: oklch(58.8% 0.093 100.6);
Tailwind
colors: {
custom: {
50: '#aea370',
500: '#897e37',
950: '#000000',
},
}SCSS
$custom: #897e37; $custom-light: #aea370; $custom-dark: #000000;
JSON
{
"hex": "#897e37",
"rgb": {
"r": 137,
"g": 126,
"b": 55
},
"hsl": {
"h": 51.951,
"s": 42.708,
"l": 37.647
},
"oklch": {
"l": 0.58798,
"c": 0.09282,
"h": 100.6
},
"luminance": 0.20516
}Semantic roles & 50–950 ramp
primary
#897E37
secondary
#6C75B0
accent
#66D255
background
#FAFAF6
surface
#F5F3EC
border
#CFCDC7
text
#110F08
muted
#807F7B