#898116#898116
#898116 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.2% C 0.119 H 104.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #898116 |
|---|---|
| RGB | rgb(137, 129, 22) |
| HSL | hsl(56, 72%, 31%) |
| HSV | hsv(56, 84%, 54%) |
| CMYK | cmyk(0%, 5.8%, 83.9%, 46.3%) |
| CIE-LAB | lab(53.03, -8.78, 53.31) |
| CIE-LCH | lch(53.03, 54.03, 99.35°) |
| OKLab | oklab(59.21% -0.0305 0.1149) |
| OKLCH | oklch(59.21% 0.119 104.9) |
| XYZ | xyz(18.3124, 21.0776, 3.8627) |
| Luminance | 0.2108 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.67
Baby Poop
#937C00
ΔE00 4.90
Shit Green
#758000
ΔE00 5.65
Ugly Brown
#7D7103
ΔE00 6.08
Hazel
#8E7618
ΔE00 6.13
Diarrhea
#9F8303
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898116 #161E89
analogous
#894716 #898116 #578916
triadic
#898116 #168981 #811689
tetradic
#898116 #168947 #161E89 #891657
square
#898116 #168947 #161E89 #891657
split-complementary
#898116 #165789 #471689
monochromatic
#201E05 #544F0E #898116 #BEB31E #DFD43A
Accessibility & contrast
On white
4.03
#898116 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#898116 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898116
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898116 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898116 | 1.00 | 4.03 | 5.22 | 5.22 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#908120
Tritanopia (blue-blind)
#94776E
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #898116; /* rgb */ color: rgb(137, 129, 22); /* oklch */ color: oklch(59.2% 0.119 104.9);
Tailwind
colors: {
custom: {
50: '#afa55f',
500: '#898116',
950: '#000000',
},
}SCSS
$custom: #898116; $custom-light: #afa55f; $custom-dark: #000000;
JSON
{
"hex": "#898116",
"rgb": {
"r": 137,
"g": 129,
"b": 22
},
"hsl": {
"h": 55.826,
"s": 72.327,
"l": 31.176
},
"oklch": {
"l": 0.59212,
"c": 0.11887,
"h": 104.9
},
"luminance": 0.21077
}Semantic roles & 50–950 ramp
primary
#898116
secondary
#3E47BD
accent
#45EF39
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79