#898C1F#898C1F
#898C1F is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.8% C 0.125 H 111.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #898C1F |
|---|---|
| RGB | rgb(137, 140, 31) |
| HSL | hsl(62, 64%, 34%) |
| HSV | hsv(62, 78%, 55%) |
| CMYK | cmyk(2.1%, 0%, 77.9%, 45.1%) |
| CIE-LAB | lab(56.26, -14.36, 53.39) |
| CIE-LCH | lch(56.26, 55.29, 105.06°) |
| OKLab | oklab(61.8% -0.0453 0.1168) |
| OKLCH | oklch(61.8% 0.125 111.2) |
| XYZ | xyz(19.9426, 24.1740, 4.9116) |
| Luminance | 0.2417 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 4.31
Olive
#808000
ΔE00 4.49
Baby Poop Green
#8F9805
ΔE00 4.53
Pea Soup
#929901
ΔE00 4.94
Swamp Green
#748500
ΔE00 5.05
Shit Green
#758000
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898C1F #221F8C
analogous
#8C581F #898C1F #528C1F
triadic
#898C1F #1F898C #8C1F89
tetradic
#898C1F #1F8C58 #221F8C #8C1F52
square
#898C1F #1F8C58 #221F8C #8C1F52
split-complementary
#898C1F #1F528C #581F8C
monochromatic
#272809 #585A14 #898C1F #BABE2A #D4D84E
Accessibility & contrast
On white
3.60
#898C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#898C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898C1F
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898C1F | 1.00 | 3.60 | 5.83 | 5.83 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978503
Deuteranopia (green-blind)
#988828
Tritanopia (blue-blind)
#938378
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #898c1f; /* rgb */ color: rgb(137, 140, 31); /* oklch */ color: oklch(61.8% 0.125 111.2);
Tailwind
colors: {
custom: {
50: '#afad64',
500: '#898c1f',
950: '#000000',
},
}SCSS
$custom: #898c1f; $custom-light: #afad64; $custom-dark: #000000;
JSON
{
"hex": "#898c1f",
"rgb": {
"r": 137,
"g": 140,
"b": 31
},
"hsl": {
"h": 61.651,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.61802,
"c": 0.12531,
"h": 111.2
},
"luminance": 0.24173
}Semantic roles & 50–950 ramp
primary
#898C1F
secondary
#4F4CBB
accent
#41E746
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A