#8CA254#8CA254
#8CA254 is a light, moderate yellow-green. Relative luminance 0.321; OKLCH L 67.7% C 0.107 H 122.2°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8CA254 |
|---|---|
| RGB | rgb(140, 162, 84) |
| HSL | hsl(77, 32%, 48%) |
| HSV | hsv(77, 48%, 64%) |
| CMYK | cmyk(13.6%, 0%, 48.1%, 36.5%) |
| CIE-LAB | lab(63.39, -20.41, 37.80) |
| CIE-LCH | lch(63.39, 42.95, 118.37°) |
| OKLab | oklab(67.73% -0.0571 0.0906) |
| OKLCH | oklch(67.73% 0.107 122.2) |
| XYZ | xyz(25.3358, 32.0562, 13.2385) |
| Luminance | 0.3206 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green
#8A9A5B
ΔE00 3.49
Moss
#769958
ΔE00 5.71
Asparagus
#77AB56
ΔE00 6.01
Drab Green
#749551
ΔE00 6.02
Camo
#7F8F4E
ΔE00 6.27
Dull Green
#74A662
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8CA254 #6A54A2
analogous
#A29154 #8CA254 #65A254
triadic
#8CA254 #548CA2 #A2548C
tetradic
#8CA254 #54A291 #6A54A2 #A25465
square
#8CA254 #54A291 #6A54A2 #A25465
split-complementary
#8CA254 #5465A2 #9154A2
monochromatic
#46512A #697A3F #8CA254 #A8BA79 #C2CFA2
Accessibility & contrast
On white
2.83
#8CA254 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.41
#8CA254 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8CA254
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8CA254 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8CA254 | 1.00 | 2.83 | 7.41 | 7.41 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9A4D
Deuteranopia (green-blind)
#A79958
Tritanopia (blue-blind)
#929B90
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #8ca254; /* rgb */ color: rgb(140, 162, 84); /* oklch */ color: oklch(67.7% 0.107 122.2);
Tailwind
colors: {
custom: {
50: '#afbd86',
500: '#8ca254',
950: '#000000',
},
}SCSS
$custom: #8ca254; $custom-light: #afbd86; $custom-dark: #000000;
JSON
{
"hex": "#8ca254",
"rgb": {
"r": 140,
"g": 162,
"b": 84
},
"hsl": {
"h": 76.923,
"s": 31.707,
"l": 48.235
},
"oklch": {
"l": 0.67729,
"c": 0.10707,
"h": 122.2
},
"luminance": 0.32056
}Semantic roles & 50–950 ramp
primary
#8CA254
secondary
#A196BC
accent
#60C87D
background
#FAFBF8
surface
#F5F6EF
border
#CFD0CA
text
#10120B
muted
#7F817C