#897D34#897D34
#897D34 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.5% C 0.095 H 100.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #897D34 |
|---|---|
| RGB | rgb(137, 125, 52) |
| HSL | hsl(52, 45%, 37%) |
| HSV | hsv(52, 62%, 54%) |
| CMYK | cmyk(0%, 8.8%, 62%, 46.3%) |
| CIE-LAB | lab(52.10, -4.98, 40.51) |
| CIE-LCH | lch(52.10, 40.81, 97.00°) |
| OKLab | oklab(58.54% -0.0165 0.0932) |
| OKLCH | oklch(58.54% 0.095 100) |
| XYZ | xyz(18.2707, 20.2343, 6.1914) |
| Luminance | 0.2023 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 5.07
Hazel
#8E7618
ΔE00 5.18
Baby Poop
#937C00
ΔE00 6.13
Ugly Brown
#7D7103
ΔE00 6.25
Olive
#808000
ΔE00 6.28
Puke Brown
#947706
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897D34 #344089
analogous
#895234 #897D34 #6B8934
triadic
#897D34 #34897D #7D3489
tetradic
#897D34 #348952 #344089 #89346B
square
#897D34 #348952 #344089 #89346B
split-complementary
#897D34 #346B89 #523489
monochromatic
#302C12 #5D5523 #897D34 #B5A545 #C8BC6F
Accessibility & contrast
On white
4.16
#897D34 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#897D34 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897D34
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897D34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897D34 | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887A2C
Deuteranopia (green-blind)
#8C7E38
Tritanopia (blue-blind)
#93756D
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #897d34; /* rgb */ color: rgb(137, 125, 52); /* oklch */ color: oklch(58.5% 0.095 100.0);
Tailwind
colors: {
custom: {
50: '#aea26e',
500: '#897d34',
950: '#000000',
},
}SCSS
$custom: #897d34; $custom-light: #aea26e; $custom-dark: #000000;
JSON
{
"hex": "#897d34",
"rgb": {
"r": 137,
"g": 125,
"b": 52
},
"hsl": {
"h": 51.529,
"s": 44.974,
"l": 37.059
},
"oklch": {
"l": 0.58538,
"c": 0.09467,
"h": 100
},
"luminance": 0.20234
}Semantic roles & 50–950 ramp
primary
#897D34
secondary
#6873B0
accent
#65D553
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110F07
muted
#807E7A