#897B19#897B19
#897B19 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.9% C 0.112 H 100.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #897B19 |
|---|---|
| RGB | rgb(137, 123, 25) |
| HSL | hsl(53, 69%, 32%) |
| HSV | hsv(53, 82%, 54%) |
| CMYK | cmyk(0%, 10.2%, 81.8%, 46.3%) |
| CIE-LAB | lab(51.33, -5.36, 50.91) |
| CIE-LCH | lch(51.33, 51.19, 96.01°) |
| OKLab | oklab(57.86% -0.0206 0.1103) |
| OKLCH | oklch(57.86% 0.112 100.6) |
| XYZ | xyz(17.5758, 19.5553, 3.7683) |
| Luminance | 0.1955 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.49
Hazel
#8E7618
ΔE00 3.55
Ugly Brown
#7D7103
ΔE00 4.16
Olive
#808000
ΔE00 4.61
Puke Brown
#947706
ΔE00 4.93
Poo
#8F7303
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897B19 #192789
analogous
#894319 #897B19 #5F8919
triadic
#897B19 #19897B #7B1989
tetradic
#897B19 #198943 #192789 #89195F
square
#897B19 #198943 #192789 #89195F
split-complementary
#897B19 #195F89 #431989
monochromatic
#211E06 #554D10 #897B19 #BDA922 #DCC940
Accessibility & contrast
On white
4.28
#897B19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#897B19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897B19
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897B19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897B19 | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#8B7D21
Tritanopia (blue-blind)
#947169
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #897b19; /* rgb */ color: rgb(137, 123, 25); /* oklch */ color: oklch(57.9% 0.112 100.6);
Tailwind
colors: {
custom: {
50: '#afa060',
500: '#897b19',
950: '#000000',
},
}SCSS
$custom: #897b19; $custom-light: #afa060; $custom-dark: #000000;
JSON
{
"hex": "#897b19",
"rgb": {
"r": 137,
"g": 123,
"b": 25
},
"hsl": {
"h": 52.5,
"s": 69.136,
"l": 31.765
},
"oklch": {
"l": 0.57862,
"c": 0.11224,
"h": 100.6
},
"luminance": 0.19554
}Semantic roles & 50–950 ramp
primary
#897B19
secondary
#4151BC
accent
#52EC3C
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79