#898F15#898F15
#898F15 is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.5% C 0.133 H 112.7°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #898F15 |
|---|---|
| RGB | rgb(137, 143, 21) |
| HSL | hsl(63, 74%, 32%) |
| HSV | hsv(63, 85%, 56%) |
| CMYK | cmyk(4.2%, 0%, 85.3%, 43.9%) |
| CIE-LAB | lab(57.09, -16.30, 57.03) |
| CIE-LCH | lch(57.09, 59.31, 105.95°) |
| OKLab | oklab(62.45% -0.0514 0.1228) |
| OKLCH | oklch(62.45% 0.133 112.7) |
| XYZ | xyz(20.2751, 25.0179, 4.4702) |
| Luminance | 0.2502 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 3.08
Baby Poop Green
#8F9805
ΔE00 3.20
Pea Soup
#929901
ΔE00 3.68
Swamp Green
#748500
ΔE00 5.20
Olive
#808000
ΔE00 5.34
Ugly Green
#7A9703
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898F15 #1B158F
analogous
#8F5815 #898F15 #4C8F15
triadic
#898F15 #15898F #8F1589
tetradic
#898F15 #158F58 #1B158F #8F154C
square
#898F15 #158F58 #1B158F #8F154C
split-complementary
#898F15 #154C8F #58158F
monochromatic
#232405 #565A0D #898F15 #BCC41D #DAE23C
Accessibility & contrast
On white
3.50
#898F15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.00
#898F15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898F15
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898F15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898F15 | 1.00 | 3.50 | 6.00 | 6.00 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9B8A22
Tritanopia (blue-blind)
#93867A
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #898f15; /* rgb */ color: rgb(137, 143, 21); /* oklch */ color: oklch(62.5% 0.133 112.7);
Tailwind
colors: {
custom: {
50: '#afaf61',
500: '#898f15',
950: '#000000',
},
}SCSS
$custom: #898f15; $custom-light: #afaf61; $custom-dark: #000000;
JSON
{
"hex": "#898f15",
"rgb": {
"r": 137,
"g": 143,
"b": 21
},
"hsl": {
"h": 62.951,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.62454,
"c": 0.13313,
"h": 112.7
},
"luminance": 0.25017
}Semantic roles & 50–950 ramp
primary
#898F15
secondary
#443EC2
accent
#37F140
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A