#8A954C#8A954C
#8A954C is a light, moderate yellow. Relative luminance 0.274; OKLCH L 64.4% C 0.098 H 116.3°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #8A954C |
|---|---|
| RGB | rgb(138, 149, 76) |
| HSL | hsl(69, 32%, 44%) |
| HSV | hsv(69, 49%, 58%) |
| CMYK | cmyk(7.4%, 0%, 49%, 41.6%) |
| CIE-LAB | lab(59.36, -15.38, 36.95) |
| CIE-LCH | lch(59.36, 40.02, 112.59°) |
| OKLab | oklab(64.43% -0.0435 0.0881) |
| OKLCH | oklch(64.43% 0.098 116.3) |
| XYZ | xyz(22.5334, 27.4202, 10.9416) |
| Luminance | 0.2742 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Moss Green
#8A9A5B
ΔE00 3.13
Camo
#7F8F4E
ΔE00 3.26
Drab Green
#749551
ΔE00 6.04
Drab
#828344
ΔE00 6.43
Khaki Green
#728639
ΔE00 6.46
Moss
#769958
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A954C #574C95
analogous
#957C4C #8A954C #66954C
triadic
#8A954C #4C8A95 #954C8A
tetradic
#8A954C #4C957C #574C95 #954C66
square
#8A954C #4C957C #574C95 #954C66
split-complementary
#8A954C #4C6695 #7C4C95
monochromatic
#3F4423 #646C37 #8A954C #A8B36B #C0C893
Accessibility & contrast
On white
3.24
#8A954C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.48
#8A954C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A954C
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A954C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A954C | 1.00 | 3.24 | 6.48 | 6.48 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E8F46
Deuteranopia (green-blind)
#9D8F50
Tritanopia (blue-blind)
#918E84
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #8a954c; /* rgb */ color: rgb(138, 149, 76); /* oklch */ color: oklch(64.4% 0.098 116.3);
Tailwind
colors: {
custom: {
50: '#adb480',
500: '#8a954c',
950: '#000000',
},
}SCSS
$custom: #8a954c; $custom-light: #adb480; $custom-dark: #000000;
JSON
{
"hex": "#8a954c",
"rgb": {
"r": 138,
"g": 149,
"b": 76
},
"hsl": {
"h": 69.041,
"s": 32.444,
"l": 44.118
},
"oklch": {
"l": 0.64431,
"c": 0.09827,
"h": 116.3
},
"luminance": 0.2742
}Semantic roles & 50–950 ramp
primary
#8A954C
secondary
#8F88B4
accent
#5FC96F
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#10110A
muted
#7F807C