#897D16#897D16
#897D16 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.3% C 0.115 H 102.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #897D16 |
|---|---|
| RGB | rgb(137, 125, 22) |
| HSL | hsl(54, 72%, 31%) |
| HSV | hsv(54, 84%, 54%) |
| CMYK | cmyk(0%, 8.8%, 83.9%, 46.3%) |
| CIE-LAB | lab(51.89, -6.58, 52.32) |
| CIE-LCH | lch(51.89, 52.73, 97.16°) |
| OKLab | oklab(58.3% -0.0243 0.1128) |
| OKLCH | oklch(58.3% 0.115 102.2) |
| XYZ | xyz(17.7958, 20.0443, 3.6905) |
| Luminance | 0.2004 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.74
Olive
#808000
ΔE00 3.77
Hazel
#8E7618
ΔE00 4.44
Ugly Brown
#7D7103
ΔE00 4.69
Puke Brown
#947706
ΔE00 5.59
Poo
#8F7303
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897D16 #162289
analogous
#894316 #897D16 #5B8916
triadic
#897D16 #16897D #7D1689
tetradic
#897D16 #168943 #162289 #89165B
square
#897D16 #168943 #162289 #89165B
split-complementary
#897D16 #165B89 #431689
monochromatic
#201D05 #544D0E #897D16 #BEAD1E #DFCE3A
Accessibility & contrast
On white
4.19
#897D16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#897D16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897D16
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897D16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897D16 | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8D7E1F
Tritanopia (blue-blind)
#94736A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #897d16; /* rgb */ color: rgb(137, 125, 22); /* oklch */ color: oklch(58.3% 0.115 102.2);
Tailwind
colors: {
custom: {
50: '#afa25f',
500: '#897d16',
950: '#000000',
},
}SCSS
$custom: #897d16; $custom-light: #afa25f; $custom-dark: #000000;
JSON
{
"hex": "#897d16",
"rgb": {
"r": 137,
"g": 125,
"b": 22
},
"hsl": {
"h": 53.739,
"s": 72.327,
"l": 31.176
},
"oklch": {
"l": 0.583,
"c": 0.11535,
"h": 102.2
},
"luminance": 0.20044
}Semantic roles & 50–950 ramp
primary
#897D16
secondary
#3E4BBD
accent
#4CEF39
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79