#897C16#897C16
#897C16 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.1% C 0.115 H 101.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #897C16 |
|---|---|
| RGB | rgb(137, 124, 22) |
| HSL | hsl(53, 72%, 31%) |
| HSV | hsv(53, 84%, 54%) |
| CMYK | cmyk(0%, 9.5%, 83.9%, 46.3%) |
| CIE-LAB | lab(51.60, -6.02, 52.08) |
| CIE-LCH | lch(51.60, 52.42, 96.59°) |
| OKLab | oklab(58.07% -0.0228 0.1122) |
| OKLCH | oklch(58.07% 0.115 101.5) |
| XYZ | xyz(17.6699, 19.7924, 3.6485) |
| Luminance | 0.1979 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.53
Hazel
#8E7618
ΔE00 4.01
Olive
#808000
ΔE00 4.13
Ugly Brown
#7D7103
ΔE00 4.39
Puke Brown
#947706
ΔE00 5.23
Poo
#8F7303
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897C16 #162389
analogous
#894216 #897C16 #5C8916
triadic
#897C16 #16897C #7C1689
tetradic
#897C16 #168942 #162389 #89165C
square
#897C16 #168942 #162389 #89165C
split-complementary
#897C16 #165C89 #421689
monochromatic
#201D05 #544C0E #897C16 #BEAC1E #DFCD3A
Accessibility & contrast
On white
4.24
#897C16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#897C16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897C16
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897C16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897C16 | 1.00 | 4.24 | 4.96 | 4.96 |
| #FFFFFF | 4.24 | 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)
#8C7D1F
Tritanopia (blue-blind)
#94726A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #897c16; /* rgb */ color: rgb(137, 124, 22); /* oklch */ color: oklch(58.1% 0.115 101.5);
Tailwind
colors: {
custom: {
50: '#afa15e',
500: '#897c16',
950: '#000000',
},
}SCSS
$custom: #897c16; $custom-light: #afa15e; $custom-dark: #000000;
JSON
{
"hex": "#897c16",
"rgb": {
"r": 137,
"g": 124,
"b": 22
},
"hsl": {
"h": 53.217,
"s": 72.327,
"l": 31.176
},
"oklch": {
"l": 0.58073,
"c": 0.11451,
"h": 101.5
},
"luminance": 0.19792
}Semantic roles & 50–950 ramp
primary
#897C16
secondary
#3E4CBD
accent
#4DEF39
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79