#897C19#897C19
#897C19 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.1% C 0.113 H 101.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #897C19 |
|---|---|
| RGB | rgb(137, 124, 25) |
| HSL | hsl(53, 69%, 32%) |
| HSV | hsv(53, 82%, 54%) |
| CMYK | cmyk(0%, 9.5%, 81.8%, 46.3%) |
| CIE-LAB | lab(51.62, -5.92, 51.16) |
| CIE-LCH | lch(51.62, 51.50, 96.60°) |
| OKLab | oklab(58.09% -0.0222 0.1109) |
| OKLCH | oklch(58.09% 0.113 101.3) |
| XYZ | xyz(17.7005, 19.8047, 3.8099) |
| Luminance | 0.1980 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.65
Hazel
#8E7618
ΔE00 3.97
Olive
#808000
ΔE00 4.23
Ugly Brown
#7D7103
ΔE00 4.42
Puke Brown
#947706
ΔE00 5.27
Poo
#8F7303
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897C19 #192689
analogous
#894419 #897C19 #5E8919
triadic
#897C19 #19897C #7C1989
tetradic
#897C19 #198944 #192689 #89195E
square
#897C19 #198944 #192689 #89195E
split-complementary
#897C19 #195E89 #441989
monochromatic
#211E06 #554D10 #897C19 #BDAB22 #DCCA40
Accessibility & contrast
On white
4.23
#897C19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#897C19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897C19
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897C19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897C19 | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8C7D21
Tritanopia (blue-blind)
#94726A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #897c19; /* rgb */ color: rgb(137, 124, 25); /* oklch */ color: oklch(58.1% 0.113 101.3);
Tailwind
colors: {
custom: {
50: '#afa160',
500: '#897c19',
950: '#000000',
},
}SCSS
$custom: #897c19; $custom-light: #afa160; $custom-dark: #000000;
JSON
{
"hex": "#897c19",
"rgb": {
"r": 137,
"g": 124,
"b": 25
},
"hsl": {
"h": 53.036,
"s": 69.136,
"l": 31.765
},
"oklch": {
"l": 0.58089,
"c": 0.11308,
"h": 101.3
},
"luminance": 0.19804
}Semantic roles & 50–950 ramp
primary
#897C19
secondary
#4150BC
accent
#50EC3C
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79