#898216#898216
#898216 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.4% C 0.120 H 105.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #898216 |
|---|---|
| RGB | rgb(137, 130, 22) |
| HSL | hsl(56, 72%, 31%) |
| HSV | hsv(56, 84%, 54%) |
| CMYK | cmyk(0%, 5.1%, 83.9%, 46.3%) |
| CIE-LAB | lab(53.32, -9.32, 53.56) |
| CIE-LCH | lch(53.32, 54.36, 99.88°) |
| OKLab | oklab(59.44% -0.032 0.1154) |
| OKLCH | oklch(59.44% 0.12 105.5) |
| XYZ | xyz(18.4448, 21.3423, 3.9068) |
| Luminance | 0.2134 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.53
Baby Poop
#937C00
ΔE00 5.23
Shit Green
#758000
ΔE00 5.46
Ugly Brown
#7D7103
ΔE00 6.45
Swamp Green
#748500
ΔE00 6.52
Hazel
#8E7618
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898216 #161D89
analogous
#894816 #898216 #568916
triadic
#898216 #168982 #821689
tetradic
#898216 #168948 #161D89 #891656
square
#898216 #168948 #161D89 #891656
split-complementary
#898216 #165689 #481689
monochromatic
#201E05 #54500E #898216 #BEB41E #DFD53A
Accessibility & contrast
On white
3.99
#898216 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#898216 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898216
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898216 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898216 | 1.00 | 3.99 | 5.27 | 5.27 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#918120
Tritanopia (blue-blind)
#94786F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #898216; /* rgb */ color: rgb(137, 130, 22); /* oklch */ color: oklch(59.4% 0.120 105.5);
Tailwind
colors: {
custom: {
50: '#afa65f',
500: '#898216',
950: '#000000',
},
}SCSS
$custom: #898216; $custom-light: #afa65f; $custom-dark: #000000;
JSON
{
"hex": "#898216",
"rgb": {
"r": 137,
"g": 130,
"b": 22
},
"hsl": {
"h": 56.348,
"s": 72.327,
"l": 31.176
},
"oklch": {
"l": 0.59442,
"c": 0.11979,
"h": 105.5
},
"luminance": 0.21342
}Semantic roles & 50–950 ramp
primary
#898216
secondary
#3E46BD
accent
#44EF39
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79