#8D984B#8D984B
#8D984B is a light, moderate yellow. Relative luminance 0.286; OKLCH L 65.4% C 0.102 H 116.0°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #8D984B |
|---|---|
| RGB | rgb(141, 152, 75) |
| HSL | hsl(69, 34%, 45%) |
| HSV | hsv(69, 51%, 60%) |
| CMYK | cmyk(7.2%, 0%, 50.7%, 40.4%) |
| CIE-LAB | lab(60.45, -15.79, 38.82) |
| CIE-LCH | lch(60.45, 41.91, 112.13°) |
| OKLab | oklab(65.36% -0.045 0.0921) |
| OKLCH | oklch(65.36% 0.102 116) |
| XYZ | xyz(23.4831, 28.6275, 10.9438) |
| Luminance | 0.2863 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Moss Green
#8A9A5B
ΔE00 3.43
Camo
#7F8F4E
ΔE00 4.36
Baby Shit Green
#889717
ΔE00 6.24
Drab Green
#749551
ΔE00 6.63
Khaki (survey)
#AAA662
ΔE00 7.03
Moss
#769958
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D984B #564B98
analogous
#987D4B #8D984B #67984B
triadic
#8D984B #4B8D98 #984B8D
tetradic
#8D984B #4B987D #564B98 #984B67
square
#8D984B #4B987D #564B98 #984B67
split-complementary
#8D984B #4B6798 #7D4B98
monochromatic
#414623 #676F37 #8D984B #ABB66A #C2CA93
Accessibility & contrast
On white
3.12
#8D984B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.73
#8D984B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D984B
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D984B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D984B | 1.00 | 3.12 | 6.73 | 6.73 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A19144
Deuteranopia (green-blind)
#A0924F
Tritanopia (blue-blind)
#949186
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #8d984b; /* rgb */ color: rgb(141, 152, 75); /* oklch */ color: oklch(65.4% 0.102 116.0);
Tailwind
colors: {
custom: {
50: '#b0b67f',
500: '#8d984b',
950: '#000000',
},
}SCSS
$custom: #8d984b; $custom-light: #b0b67f; $custom-dark: #000000;
JSON
{
"hex": "#8d984b",
"rgb": {
"r": 141,
"g": 152,
"b": 75
},
"hsl": {
"h": 68.571,
"s": 33.921,
"l": 44.51
},
"oklch": {
"l": 0.65357,
"c": 0.10248,
"h": 116
},
"luminance": 0.28627
}Semantic roles & 50–950 ramp
primary
#8D984B
secondary
#8F89B6
accent
#5ECA6D
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#11110A
muted
#80807C