#8F954C#8F954C
#8F954C is a light, moderate yellow. Relative luminance 0.279; OKLCH L 64.8% C 0.097 H 113.0°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #8F954C |
|---|---|
| RGB | rgb(143, 149, 76) |
| HSL | hsl(65, 32%, 44%) |
| HSV | hsv(65, 49%, 58%) |
| CMYK | cmyk(4%, 0%, 49%, 41.6%) |
| CIE-LAB | lab(59.76, -13.26, 37.52) |
| CIE-LCH | lch(59.76, 39.80, 109.47°) |
| OKLab | oklab(64.85% -0.0378 0.0893) |
| OKLCH | oklch(64.85% 0.097 113) |
| XYZ | xyz(23.3800, 27.8567, 10.9813) |
| Luminance | 0.2786 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Moss Green
#8A9A5B
ΔE00 4.02
Camo
#7F8F4E
ΔE00 4.39
Dark Khaki
#9B8F55
ΔE00 6.27
Drab
#828344
ΔE00 6.29
Baby Shit Green
#889717
ΔE00 6.76
Khaki (survey)
#AAA662
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F954C #524C95
analogous
#95774C #8F954C #6B954C
triadic
#8F954C #4C8F95 #954C8F
tetradic
#8F954C #4C9577 #524C95 #954C6B
square
#8F954C #4C9577 #524C95 #954C6B
split-complementary
#8F954C #4C6B95 #774C95
monochromatic
#414423 #686C37 #8F954C #ADB36B #C4C893
Accessibility & contrast
On white
3.20
#8F954C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.57
#8F954C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F954C
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F954C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F954C | 1.00 | 3.20 | 6.57 | 6.57 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E8F46
Deuteranopia (green-blind)
#9E9150
Tritanopia (blue-blind)
#978E84
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #8f954c; /* rgb */ color: rgb(143, 149, 76); /* oklch */ color: oklch(64.8% 0.097 113.0);
Tailwind
colors: {
custom: {
50: '#b1b480',
500: '#8f954c',
950: '#000000',
},
}SCSS
$custom: #8f954c; $custom-light: #b1b480; $custom-dark: #000000;
JSON
{
"hex": "#8f954c",
"rgb": {
"r": 143,
"g": 149,
"b": 76
},
"hsl": {
"h": 64.932,
"s": 32.444,
"l": 44.118
},
"oklch": {
"l": 0.64848,
"c": 0.09698,
"h": 113
},
"luminance": 0.27856
}Semantic roles & 50–950 ramp
primary
#8F954C
secondary
#8C88B4
accent
#5FC968
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#11110A
muted
#80807C