#898918#898918
#898918 is a mid, vivid yellow. Relative luminance 0.233; OKLCH L 61.1% C 0.126 H 109.6°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #898918 |
|---|---|
| RGB | rgb(137, 137, 24) |
| HSL | hsl(60, 70%, 32%) |
| HSV | hsv(60, 82%, 54%) |
| CMYK | cmyk(0%, 0%, 82.5%, 46.3%) |
| CIE-LAB | lab(55.36, -13.04, 54.74) |
| CIE-LCH | lch(55.36, 56.27, 103.39°) |
| OKLab | oklab(61.07% -0.0422 0.1184) |
| OKLCH | oklch(61.07% 0.126 109.6) |
| XYZ | xyz(19.4278, 23.2762, 4.3334) |
| Luminance | 0.2328 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.43
Shit Green
#758000
ΔE00 5.11
Swamp Green
#748500
ΔE00 5.15
Baby Poop Green
#8F9805
ΔE00 5.36
Baby Shit Green
#889717
ΔE00 5.44
Pea Soup
#929901
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898918 #181889
analogous
#895118 #898918 #518918
triadic
#898918 #188989 #891889
tetradic
#898918 #188951 #181889 #891851
square
#898918 #188951 #181889 #891851
split-complementary
#898918 #185189 #511889
monochromatic
#212106 #55550F #898918 #BDBD21 #DDDD3E
Accessibility & contrast
On white
3.71
#898918 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#898918 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898918
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898918 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898918 | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#968623
Tritanopia (blue-blind)
#938075
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #898918; /* rgb */ color: rgb(137, 137, 24); /* oklch */ color: oklch(61.1% 0.126 109.6);
Tailwind
colors: {
custom: {
50: '#afab61',
500: '#898918',
950: '#000000',
},
}SCSS
$custom: #898918; $custom-light: #afab61; $custom-dark: #000000;
JSON
{
"hex": "#898918",
"rgb": {
"r": 137,
"g": 137,
"b": 24
},
"hsl": {
"h": 60,
"s": 70.186,
"l": 31.569
},
"oklch": {
"l": 0.61067,
"c": 0.12568,
"h": 109.6
},
"luminance": 0.23276
}Semantic roles & 50–950 ramp
primary
#898918
secondary
#4040BD
accent
#3BED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A