#897A20#897A20
#897A20 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.7% C 0.107 H 99.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #897A20 |
|---|---|
| RGB | rgb(137, 122, 32) |
| HSL | hsl(51, 62%, 33%) |
| HSV | hsv(51, 77%, 54%) |
| CMYK | cmyk(0%, 10.9%, 76.6%, 46.3%) |
| CIE-LAB | lab(51.09, -4.51, 48.22) |
| CIE-LCH | lch(51.09, 48.43, 95.34°) |
| OKLab | oklab(57.68% -0.0175 0.106) |
| OKLCH | oklch(57.68% 0.107 99.4) |
| XYZ | xyz(17.5376, 19.3426, 4.1759) |
| Luminance | 0.1934 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.12
Baby Poop
#937C00
ΔE00 3.84
Ugly Brown
#7D7103
ΔE00 4.16
Puke Brown
#947706
ΔE00 4.81
Poo
#8F7303
ΔE00 4.83
Olive
#808000
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897A20 #202F89
analogous
#894620 #897A20 #638920
triadic
#897A20 #20897A #7A2089
tetradic
#897A20 #208946 #202F89 #892063
square
#897A20 #208946 #202F89 #892063
split-complementary
#897A20 #206389 #462089
monochromatic
#262209 #574E14 #897A20 #BBA62C #D6C24E
Accessibility & contrast
On white
4.31
#897A20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#897A20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897A20
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897A20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897A20 | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86770F
Deuteranopia (green-blind)
#8A7C26
Tritanopia (blue-blind)
#947169
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #897a20; /* rgb */ color: rgb(137, 122, 32); /* oklch */ color: oklch(57.7% 0.107 99.4);
Tailwind
colors: {
custom: {
50: '#afa063',
500: '#897a20',
950: '#000000',
},
}SCSS
$custom: #897a20; $custom-light: #afa063; $custom-dark: #000000;
JSON
{
"hex": "#897a20",
"rgb": {
"r": 137,
"g": 122,
"b": 32
},
"hsl": {
"h": 51.429,
"s": 62.13,
"l": 33.137
},
"oklch": {
"l": 0.5768,
"c": 0.10748,
"h": 99.4
},
"luminance": 0.19342
}Semantic roles & 50–950 ramp
primary
#897A20
secondary
#4C5CB9
accent
#5AE543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A