#8D984A#8D984A
#8D984A is a light, moderate yellow. Relative luminance 0.286; OKLCH L 65.3% C 0.104 H 116.0°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8D984A |
|---|---|
| RGB | rgb(141, 152, 74) |
| HSL | hsl(68, 35%, 44%) |
| HSV | hsv(68, 51%, 60%) |
| CMYK | cmyk(7.2%, 0%, 51.3%, 40.4%) |
| CIE-LAB | lab(60.44, -15.89, 39.31) |
| CIE-LCH | lch(60.44, 42.40, 112.01°) |
| OKLab | oklab(65.34% -0.0453 0.0931) |
| OKLCH | oklch(65.34% 0.104 116) |
| XYZ | xyz(23.4491, 28.6139, 10.7650) |
| Luminance | 0.2861 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Moss Green
#8A9A5B
ΔE00 3.60
Camo
#7F8F4E
ΔE00 4.46
Baby Shit Green
#889717
ΔE00 6.07
Drab Green
#749551
ΔE00 6.71
Khaki (survey)
#AAA662
ΔE00 7.06
Moss
#769958
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D984A #554A98
analogous
#987C4A #8D984A #66984A
triadic
#8D984A #4A8D98 #984A8D
tetradic
#8D984A #4A987C #554A98 #984A66
square
#8D984A #4A987C #554A98 #984A66
split-complementary
#8D984A #4A6698 #7C4A98
monochromatic
#414622 #676F36 #8D984A #ABB669 #C2CA92
Accessibility & contrast
On white
3.12
#8D984A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.72
#8D984A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D984A
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D984A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D984A | 1.00 | 3.12 | 6.72 | 6.72 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A19143
Deuteranopia (green-blind)
#A0924E
Tritanopia (blue-blind)
#949186
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #8d984a; /* rgb */ color: rgb(141, 152, 74); /* oklch */ color: oklch(65.3% 0.104 116.0);
Tailwind
colors: {
custom: {
50: '#b0b67f',
500: '#8d984a',
950: '#000000',
},
}SCSS
$custom: #8d984a; $custom-light: #b0b67f; $custom-dark: #000000;
JSON
{
"hex": "#8d984a",
"rgb": {
"r": 141,
"g": 152,
"b": 74
},
"hsl": {
"h": 68.462,
"s": 34.513,
"l": 44.314
},
"oklch": {
"l": 0.65344,
"c": 0.10353,
"h": 116
},
"luminance": 0.28614
}Semantic roles & 50–950 ramp
primary
#8D984A
secondary
#8E88B6
accent
#5DCB6D
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#11110A
muted
#80807C