#898E15#898E15
#898E15 is a light, vivid yellow. Relative luminance 0.247; OKLCH L 62.2% C 0.132 H 112.2°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #898E15 |
|---|---|
| RGB | rgb(137, 142, 21) |
| HSL | hsl(62, 74%, 32%) |
| HSV | hsv(62, 85%, 56%) |
| CMYK | cmyk(3.5%, 0%, 85.2%, 44.3%) |
| CIE-LAB | lab(56.80, -15.78, 56.78) |
| CIE-LCH | lch(56.80, 58.93, 105.53°) |
| OKLab | oklab(62.22% -0.05 0.1223) |
| OKLCH | oklch(62.22% 0.132 112.2) |
| XYZ | xyz(20.1256, 24.7190, 4.4204) |
| Luminance | 0.2472 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 3.47
Baby Poop Green
#8F9805
ΔE00 3.52
Pea Soup
#929901
ΔE00 3.96
Olive
#808000
ΔE00 4.99
Swamp Green
#748500
ΔE00 5.12
Ugly Green
#7A9703
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898E15 #1A158E
analogous
#8E5615 #898E15 #4D8E15
triadic
#898E15 #15898E #8E1589
tetradic
#898E15 #158E56 #1A158E #8E154D
square
#898E15 #158E56 #1A158E #8E154D
split-complementary
#898E15 #154D8E #56158E
monochromatic
#222305 #56590D #898E15 #BCC31D #DBE23B
Accessibility & contrast
On white
3.53
#898E15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.94
#898E15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898E15
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898E15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898E15 | 1.00 | 3.53 | 5.94 | 5.94 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#9A8A22
Tritanopia (blue-blind)
#938579
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #898e15; /* rgb */ color: rgb(137, 142, 21); /* oklch */ color: oklch(62.2% 0.132 112.2);
Tailwind
colors: {
custom: {
50: '#afae61',
500: '#898e15',
950: '#000000',
},
}SCSS
$custom: #898e15; $custom-light: #afae61; $custom-dark: #000000;
JSON
{
"hex": "#898e15",
"rgb": {
"r": 137,
"g": 142,
"b": 21
},
"hsl": {
"h": 62.479,
"s": 74.233,
"l": 31.961
},
"oklch": {
"l": 0.6222,
"c": 0.13207,
"h": 112.2
},
"luminance": 0.24719
}Semantic roles & 50–950 ramp
primary
#898E15
secondary
#433DC2
accent
#37F13F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A