#898A1F#898A1F
#898A1F is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.3% C 0.123 H 110.1°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #898A1F |
|---|---|
| RGB | rgb(137, 138, 31) |
| HSL | hsl(61, 63%, 33%) |
| HSV | hsv(61, 78%, 54%) |
| CMYK | cmyk(0.7%, 0%, 77.5%, 45.9%) |
| CIE-LAB | lab(55.68, -13.30, 52.86) |
| CIE-LCH | lch(55.68, 54.51, 104.12°) |
| OKLab | oklab(61.34% -0.0423 0.1157) |
| OKLCH | oklch(61.34% 0.123 110.1) |
| XYZ | xyz(19.6530, 23.5948, 4.8151) |
| Luminance | 0.2359 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.89
Baby Shit Green
#889717
ΔE00 5.10
Swamp Green
#748500
ΔE00 5.11
Baby Poop Green
#8F9805
ΔE00 5.22
Shit Green
#758000
ΔE00 5.23
Pea Soup
#929901
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898A1F #201F8A
analogous
#8A551F #898A1F #538A1F
triadic
#898A1F #1F898A #8A1F89
tetradic
#898A1F #1F8A55 #201F8A #8A1F53
square
#898A1F #1F8A55 #201F8A #8A1F53
split-complementary
#898A1F #1F538A #551F8A
monochromatic
#262609 #575814 #898A1F #BBBC2A #D6D74C
Accessibility & contrast
On white
3.67
#898A1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#898A1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898A1F
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898A1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898A1F | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968404
Deuteranopia (green-blind)
#978728
Tritanopia (blue-blind)
#938176
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #898a1f; /* rgb */ color: rgb(137, 138, 31); /* oklch */ color: oklch(61.3% 0.123 110.1);
Tailwind
colors: {
custom: {
50: '#afab64',
500: '#898a1f',
950: '#000000',
},
}SCSS
$custom: #898a1f; $custom-light: #afab64; $custom-dark: #000000;
JSON
{
"hex": "#898a1f",
"rgb": {
"r": 137,
"g": 138,
"b": 31
},
"hsl": {
"h": 60.561,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.61337,
"c": 0.12321,
"h": 110.1
},
"luminance": 0.23594
}Semantic roles & 50–950 ramp
primary
#898A1F
secondary
#4C4BBA
accent
#41E643
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A