#898C4F#898C4F
#898C4F is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.3% C 0.083 H 111.0°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #898C4F |
|---|---|
| RGB | rgb(137, 140, 79) |
| HSL | hsl(63, 28%, 43%) |
| HSV | hsv(63, 44%, 55%) |
| CMYK | cmyk(2.1%, 0%, 43.6%, 45.1%) |
| CIE-LAB | lab(56.72, -10.68, 32.12) |
| CIE-LCH | lch(56.72, 33.85, 108.39°) |
| OKLab | oklab(62.32% -0.0298 0.0776) |
| OKLCH | oklch(62.32% 0.083 111) |
| XYZ | xyz(21.1062, 24.6394, 11.0397) |
| Luminance | 0.2464 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.30
Camo
#7F8F4E
ΔE00 3.74
Moss Green
#8A9A5B
ΔE00 5.41
Dark Khaki
#9B8F55
ΔE00 5.44
Khaki Green
#728639
ΔE00 6.26
Drab Green
#749551
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898C4F #524F8C
analogous
#8C704F #898C4F #6A8C4F
triadic
#898C4F #4F898C #8C4F89
tetradic
#898C4F #4F8C70 #524F8C #8C4F6A
square
#898C4F #4F8C70 #524F8C #8C4F6A
split-complementary
#898C4F #4F6A8C #704F8C
monochromatic
#3C3E23 #636539 #898C4F #A9AC6C #C0C293
Accessibility & contrast
On white
3.54
#898C4F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.93
#898C4F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898C4F
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898C4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898C4F | 1.00 | 3.54 | 5.93 | 5.93 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94874A
Deuteranopia (green-blind)
#958952
Tritanopia (blue-blind)
#90857D
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #898c4f; /* rgb */ color: rgb(137, 140, 79); /* oklch */ color: oklch(62.3% 0.083 111.0);
Tailwind
colors: {
custom: {
50: '#acad81',
500: '#898c4f',
950: '#000000',
},
}SCSS
$custom: #898c4f; $custom-light: #acad81; $custom-dark: #000000;
JSON
{
"hex": "#898c4f",
"rgb": {
"r": 137,
"g": 140,
"b": 79
},
"hsl": {
"h": 62.951,
"s": 27.854,
"l": 42.941
},
"oklch": {
"l": 0.62318,
"c": 0.08314,
"h": 111
},
"luminance": 0.24639
}Semantic roles & 50–950 ramp
primary
#898C4F
secondary
#8A88AF
accent
#64C468
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#10100A
muted
#7F7F7C