#898C1C#898C1C
#898C1C is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.8% C 0.127 H 111.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #898C1C |
|---|---|
| RGB | rgb(137, 140, 28) |
| HSL | hsl(62, 67%, 33%) |
| HSV | hsv(62, 80%, 55%) |
| CMYK | cmyk(2.1%, 0%, 80%, 45.1%) |
| CIE-LAB | lab(56.25, -14.48, 54.34) |
| CIE-LCH | lch(56.25, 56.24, 104.93°) |
| OKLab | oklab(61.79% -0.0459 0.1183) |
| OKLCH | oklch(61.79% 0.127 111.2) |
| XYZ | xyz(19.9049, 24.1589, 4.7130) |
| Luminance | 0.2416 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 4.27
Baby Poop Green
#8F9805
ΔE00 4.40
Olive
#808000
ΔE00 4.42
Pea Soup
#929901
ΔE00 4.81
Swamp Green
#748500
ΔE00 5.03
Shit Green
#758000
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898C1C #1F1C8C
analogous
#8C571C #898C1C #518C1C
triadic
#898C1C #1C898C #8C1C89
tetradic
#898C1C #1C8C57 #1F1C8C #8C1C51
square
#898C1C #1C8C57 #1F1C8C #8C1C51
split-complementary
#898C1C #1C518C #571C8C
monochromatic
#252608 #575912 #898C1C #BBBF26 #D6DA48
Accessibility & contrast
On white
3.60
#898C1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#898C1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898C1C
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898C1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898C1C | 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)
#988826
Tritanopia (blue-blind)
#938377
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #898c1c; /* rgb */ color: rgb(137, 140, 28); /* oklch */ color: oklch(61.8% 0.127 111.2);
Tailwind
colors: {
custom: {
50: '#afad63',
500: '#898c1c',
950: '#000000',
},
}SCSS
$custom: #898c1c; $custom-light: #afad63; $custom-dark: #000000;
JSON
{
"hex": "#898c1c",
"rgb": {
"r": 137,
"g": 140,
"b": 28
},
"hsl": {
"h": 61.607,
"s": 66.667,
"l": 32.941
},
"oklch": {
"l": 0.61785,
"c": 0.12688,
"h": 111.2
},
"luminance": 0.24158
}Semantic roles & 50–950 ramp
primary
#898C1C
secondary
#4B48BC
accent
#3EEA43
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A