#897C20#897C20
#897C20 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.1% C 0.109 H 100.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #897C20 |
|---|---|
| RGB | rgb(137, 124, 32) |
| HSL | hsl(53, 62%, 33%) |
| HSV | hsv(53, 77%, 54%) |
| CMYK | cmyk(0%, 9.5%, 76.6%, 46.3%) |
| CIE-LAB | lab(51.65, -5.63, 48.76) |
| CIE-LCH | lch(51.65, 49.08, 96.58°) |
| OKLab | oklab(58.13% -0.0207 0.1072) |
| OKLCH | oklch(58.13% 0.109 100.9) |
| XYZ | xyz(17.7857, 19.8388, 4.2586) |
| Luminance | 0.1984 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.94
Baby Poop
#937C00
ΔE00 4.03
Olive
#808000
ΔE00 4.57
Ugly Brown
#7D7103
ΔE00 4.59
Puke Brown
#947706
ΔE00 5.42
Poo
#8F7303
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897C20 #202D89
analogous
#894720 #897C20 #618920
triadic
#897C20 #20897C #7C2089
tetradic
#897C20 #208947 #202D89 #892061
square
#897C20 #208947 #202D89 #892061
split-complementary
#897C20 #206189 #472089
monochromatic
#262209 #574F14 #897C20 #BBA92C #D6C54E
Accessibility & contrast
On white
4.23
#897C20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#897C20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897C20
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897C20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897C20 | 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)
#88780E
Deuteranopia (green-blind)
#8C7D26
Tritanopia (blue-blind)
#94736A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #897c20; /* rgb */ color: rgb(137, 124, 32); /* oklch */ color: oklch(58.1% 0.109 100.9);
Tailwind
colors: {
custom: {
50: '#afa163',
500: '#897c20',
950: '#000000',
},
}SCSS
$custom: #897c20; $custom-light: #afa163; $custom-dark: #000000;
JSON
{
"hex": "#897c20",
"rgb": {
"r": 137,
"g": 124,
"b": 32
},
"hsl": {
"h": 52.571,
"s": 62.13,
"l": 33.137
},
"oklch": {
"l": 0.58132,
"c": 0.10916,
"h": 100.9
},
"luminance": 0.19838
}Semantic roles & 50–950 ramp
primary
#897C20
secondary
#4C5AB9
accent
#57E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A