#898C1A#898C1A
#898C1A is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.8% C 0.128 H 111.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #898C1A |
|---|---|
| RGB | rgb(137, 140, 26) |
| HSL | hsl(62, 69%, 33%) |
| HSV | hsv(62, 81%, 55%) |
| CMYK | cmyk(2.1%, 0%, 81.4%, 45.1%) |
| CIE-LAB | lab(56.24, -14.56, 54.94) |
| CIE-LCH | lch(56.24, 56.83, 104.84°) |
| OKLab | oklab(61.78% -0.0462 0.1192) |
| OKLCH | oklch(61.78% 0.128 111.2) |
| XYZ | xyz(19.8818, 24.1497, 4.5911) |
| Luminance | 0.2415 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 4.25
Baby Poop Green
#8F9805
ΔE00 4.33
Olive
#808000
ΔE00 4.38
Pea Soup
#929901
ΔE00 4.73
Swamp Green
#748500
ΔE00 5.02
Shit Green
#758000
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898C1A #1D1A8C
analogous
#8C561A #898C1A #508C1A
triadic
#898C1A #1A898C #8C1A89
tetradic
#898C1A #1A8C56 #1D1A8C #8C1A50
square
#898C1A #1A8C56 #1D1A8C #8C1A50
split-complementary
#898C1A #1A508C #561A8C
monochromatic
#242507 #565810 #898C1A #BCC024 #D8DC44
Accessibility & contrast
On white
3.60
#898C1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#898C1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898C1A
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898C1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898C1A | 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)
#988500
Deuteranopia (green-blind)
#988825
Tritanopia (blue-blind)
#938377
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #898c1a; /* rgb */ color: rgb(137, 140, 26); /* oklch */ color: oklch(61.8% 0.128 111.2);
Tailwind
colors: {
custom: {
50: '#afad62',
500: '#898c1a',
950: '#000000',
},
}SCSS
$custom: #898c1a; $custom-light: #afad62; $custom-dark: #000000;
JSON
{
"hex": "#898c1a",
"rgb": {
"r": 137,
"g": 140,
"b": 26
},
"hsl": {
"h": 61.579,
"s": 68.675,
"l": 32.549
},
"oklch": {
"l": 0.61775,
"c": 0.12785,
"h": 111.2
},
"luminance": 0.24149
}Semantic roles & 50–950 ramp
primary
#898C1A
secondary
#4744BE
accent
#3CEC41
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A