#898D13#898D13
#898D13 is a mid, vivid yellow. Relative luminance 0.244; OKLCH L 62.0% C 0.132 H 111.7°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #898D13 |
|---|---|
| RGB | rgb(137, 141, 19) |
| HSL | hsl(62, 76%, 31%) |
| HSV | hsv(62, 87%, 55%) |
| CMYK | cmyk(2.8%, 0%, 86.5%, 44.7%) |
| CIE-LAB | lab(56.50, -15.31, 57.02) |
| CIE-LCH | lch(56.50, 59.04, 105.03°) |
| OKLab | oklab(61.98% -0.0488 0.1224) |
| OKLCH | oklch(61.98% 0.132 111.7) |
| XYZ | xyz(19.9597, 24.4157, 4.2772) |
| Luminance | 0.2442 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 3.81
Baby Shit Green
#889717
ΔE00 3.86
Pea Soup
#929901
ΔE00 4.21
Olive
#808000
ΔE00 4.64
Swamp Green
#748500
ΔE00 5.08
Shit Green
#758000
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898D13 #17138D
analogous
#8D5413 #898D13 #4C8D13
triadic
#898D13 #13898D #8D1389
tetradic
#898D13 #138D54 #17138D #8D134C
square
#898D13 #138D54 #17138D #8D134C
split-complementary
#898D13 #134C8D #54138D
monochromatic
#202104 #55570C #898D13 #BDC31A #DEE436
Accessibility & contrast
On white
3.57
#898D13 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#898D13 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898D13
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898D13 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898D13 | 1.00 | 3.57 | 5.88 | 5.88 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#998920
Tritanopia (blue-blind)
#938478
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #898d13; /* rgb */ color: rgb(137, 141, 19); /* oklch */ color: oklch(62.0% 0.132 111.7);
Tailwind
colors: {
custom: {
50: '#afae60',
500: '#898d13',
950: '#000000',
},
}SCSS
$custom: #898d13; $custom-light: #afae60; $custom-dark: #000000;
JSON
{
"hex": "#898d13",
"rgb": {
"r": 137,
"g": 141,
"b": 19
},
"hsl": {
"h": 61.967,
"s": 76.25,
"l": 31.373
},
"oklch": {
"l": 0.61978,
"c": 0.13179,
"h": 111.7
},
"luminance": 0.24415
}Semantic roles & 50–950 ramp
primary
#898D13
secondary
#3F3BC1
accent
#35F33B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A