#8B954F#8B954F
#8B954F is a light, moderate yellow. Relative luminance 0.275; OKLCH L 64.6% C 0.095 H 115.8°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #8B954F |
|---|---|
| RGB | rgb(139, 149, 79) |
| HSL | hsl(69, 31%, 45%) |
| HSV | hsv(69, 47%, 58%) |
| CMYK | cmyk(6.7%, 0%, 47%, 41.6%) |
| CIE-LAB | lab(59.48, -14.64, 35.57) |
| CIE-LCH | lch(59.48, 38.46, 112.37°) |
| OKLab | oklab(64.56% -0.0412 0.0853) |
| OKLCH | oklch(64.56% 0.095 115.8) |
| XYZ | xyz(22.8064, 27.5486, 11.5116) |
| Luminance | 0.2755 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Moss Green
#8A9A5B
ΔE00 2.85
Camo
#7F8F4E
ΔE00 3.21
Drab Green
#749551
ΔE00 6.12
Drab
#828344
ΔE00 6.33
Moss
#769958
ΔE00 6.65
Khaki Green
#728639
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B954F #594F95
analogous
#957C4F #8B954F #68954F
triadic
#8B954F #4F8B95 #954F8B
tetradic
#8B954F #4F957C #594F95 #954F68
square
#8B954F #4F957C #594F95 #954F68
split-complementary
#8B954F #4F6895 #7C4F95
monochromatic
#404525 #666D3A #8B954F #A9B26F #C1C897
Accessibility & contrast
On white
3.23
#8B954F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.51
#8B954F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B954F
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B954F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B954F | 1.00 | 3.23 | 6.51 | 6.51 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E8F49
Deuteranopia (green-blind)
#9D9053
Tritanopia (blue-blind)
#928E85
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #8b954f; /* rgb */ color: rgb(139, 149, 79); /* oklch */ color: oklch(64.6% 0.095 115.8);
Tailwind
colors: {
custom: {
50: '#aeb482',
500: '#8b954f',
950: '#000000',
},
}SCSS
$custom: #8b954f; $custom-light: #aeb482; $custom-dark: #000000;
JSON
{
"hex": "#8b954f",
"rgb": {
"r": 139,
"g": 149,
"b": 79
},
"hsl": {
"h": 68.571,
"s": 30.702,
"l": 44.706
},
"oklch": {
"l": 0.64557,
"c": 0.0947,
"h": 115.8
},
"luminance": 0.27548
}Semantic roles & 50–950 ramp
primary
#8B954F
secondary
#918BB4
accent
#61C76F
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10110A
muted
#7F807C