#898016#898016
#898016 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.0% C 0.118 H 104.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #898016 |
|---|---|
| RGB | rgb(137, 128, 22) |
| HSL | hsl(55, 72%, 31%) |
| HSV | hsv(55, 84%, 54%) |
| CMYK | cmyk(0%, 6.6%, 83.9%, 46.3%) |
| CIE-LAB | lab(52.75, -8.23, 53.06) |
| CIE-LCH | lch(52.75, 53.70, 98.82°) |
| OKLab | oklab(58.98% -0.0289 0.1144) |
| OKLCH | oklch(58.98% 0.118 104.2) |
| XYZ | xyz(18.1814, 20.8154, 3.8190) |
| Luminance | 0.2082 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.88
Baby Poop
#937C00
ΔE00 4.58
Hazel
#8E7618
ΔE00 5.71
Ugly Brown
#7D7103
ΔE00 5.71
Shit Green
#758000
ΔE00 5.86
Diarrhea
#9F8303
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898016 #161F89
analogous
#894616 #898016 #588916
triadic
#898016 #168980 #801689
tetradic
#898016 #168946 #161F89 #891658
square
#898016 #168946 #161F89 #891658
split-complementary
#898016 #165889 #461689
monochromatic
#201D05 #544F0E #898016 #BEB11E #DFD23A
Accessibility & contrast
On white
4.07
#898016 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#898016 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898016
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898016 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898016 | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8F8020
Tritanopia (blue-blind)
#94766D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #898016; /* rgb */ color: rgb(137, 128, 22); /* oklch */ color: oklch(59.0% 0.118 104.2);
Tailwind
colors: {
custom: {
50: '#afa45f',
500: '#898016',
950: '#000000',
},
}SCSS
$custom: #898016; $custom-light: #afa45f; $custom-dark: #000000;
JSON
{
"hex": "#898016",
"rgb": {
"r": 137,
"g": 128,
"b": 22
},
"hsl": {
"h": 55.304,
"s": 72.327,
"l": 31.176
},
"oklch": {
"l": 0.58984,
"c": 0.11797,
"h": 104.2
},
"luminance": 0.20815
}Semantic roles & 50–950 ramp
primary
#898016
secondary
#3E48BD
accent
#47EF39
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79