#897B20#897B20
#897B20 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.9% C 0.108 H 100.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #897B20 |
|---|---|
| RGB | rgb(137, 123, 32) |
| HSL | hsl(52, 62%, 33%) |
| HSV | hsv(52, 77%, 54%) |
| CMYK | cmyk(0%, 10.2%, 76.6%, 46.3%) |
| CIE-LAB | lab(51.37, -5.07, 48.49) |
| CIE-LCH | lch(51.37, 48.75, 95.97°) |
| OKLab | oklab(57.91% -0.0191 0.1066) |
| OKLCH | oklch(57.91% 0.108 100.2) |
| XYZ | xyz(17.6610, 19.5894, 4.2171) |
| Luminance | 0.1959 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.52
Baby Poop
#937C00
ΔE00 3.91
Ugly Brown
#7D7103
ΔE00 4.35
Olive
#808000
ΔE00 4.94
Puke Brown
#947706
ΔE00 5.10
Poo
#8F7303
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897B20 #202E89
analogous
#894620 #897B20 #628920
triadic
#897B20 #20897B #7B2089
tetradic
#897B20 #208946 #202E89 #892062
square
#897B20 #208946 #202E89 #892062
split-complementary
#897B20 #206289 #462089
monochromatic
#262209 #574E14 #897B20 #BBA82C #D6C34E
Accessibility & contrast
On white
4.27
#897B20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#897B20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897B20
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897B20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897B20 | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87770F
Deuteranopia (green-blind)
#8B7D26
Tritanopia (blue-blind)
#947269
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #897b20; /* rgb */ color: rgb(137, 123, 32); /* oklch */ color: oklch(57.9% 0.108 100.2);
Tailwind
colors: {
custom: {
50: '#afa063',
500: '#897b20',
950: '#000000',
},
}SCSS
$custom: #897b20; $custom-light: #afa063; $custom-dark: #000000;
JSON
{
"hex": "#897b20",
"rgb": {
"r": 137,
"g": 123,
"b": 32
},
"hsl": {
"h": 52,
"s": 62.13,
"l": 33.137
},
"oklch": {
"l": 0.57906,
"c": 0.10831,
"h": 100.2
},
"luminance": 0.19589
}Semantic roles & 50–950 ramp
primary
#897B20
secondary
#4C5BB9
accent
#58E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A