#898915#898915
#898915 is a mid, vivid yellow. Relative luminance 0.233; OKLCH L 61.1% C 0.127 H 109.6°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #898915 |
|---|---|
| RGB | rgb(137, 137, 21) |
| HSL | hsl(60, 73%, 31%) |
| HSV | hsv(60, 85%, 54%) |
| CMYK | cmyk(0%, 0%, 84.7%, 46.3%) |
| CIE-LAB | lab(55.34, -13.13, 55.55) |
| CIE-LCH | lch(55.34, 57.08, 103.30°) |
| OKLab | oklab(61.05% -0.0427 0.1196) |
| OKLCH | oklch(61.05% 0.127 109.6) |
| XYZ | xyz(19.3983, 23.2644, 4.1780) |
| Luminance | 0.2326 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.38
Shit Green
#758000
ΔE00 5.11
Swamp Green
#748500
ΔE00 5.16
Baby Poop Green
#8F9805
ΔE00 5.29
Baby Shit Green
#889717
ΔE00 5.44
Pea Soup
#929901
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898915 #151589
analogous
#894F15 #898915 #4F8915
triadic
#898915 #158989 #891589
tetradic
#898915 #15894F #151589 #89154F
square
#898915 #15894F #151589 #89154F
split-complementary
#898915 #154F89 #4F1589
monochromatic
#1F1F05 #54540D #898915 #BEBE1D #E0E038
Accessibility & contrast
On white
3.71
#898915 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#898915 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898915
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898915 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898915 | 1.00 | 3.71 | 5.65 | 5.65 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#968621
Tritanopia (blue-blind)
#938075
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #898915; /* rgb */ color: rgb(137, 137, 21); /* oklch */ color: oklch(61.1% 0.127 109.6);
Tailwind
colors: {
custom: {
50: '#afab60',
500: '#898915',
950: '#000000',
},
}SCSS
$custom: #898915; $custom-light: #afab60; $custom-dark: #000000;
JSON
{
"hex": "#898915",
"rgb": {
"r": 137,
"g": 137,
"b": 21
},
"hsl": {
"h": 60,
"s": 73.418,
"l": 30.98
},
"oklch": {
"l": 0.61054,
"c": 0.12696,
"h": 109.6
},
"luminance": 0.23264
}Semantic roles & 50–950 ramp
primary
#898915
secondary
#3D3DBD
accent
#38F038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A