#8CA178#8CA178

#8CA178 is a light, moderate yellow-green. Relative luminance 0.324; OKLCH L 68.2% C 0.063 H 130.0°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8CA178
RGBrgb(140, 161, 120)
HSLhsl(91, 18%, 55%)
HSVhsv(91, 25%, 63%)
CMYKcmyk(13%, 0%, 25.5%, 36.9%)
CIE-LABlab(63.69, -15.01, 18.97)
CIE-LCHlch(63.69, 24.19, 128.35°)
OKLaboklab(68.16% -0.0404 0.0481)
OKLCHoklch(68.16% 0.063 130)
XYZxyz(26.9497, 32.4210, 22.6037)
Luminance0.3242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA178 #8D78A1
analogous
#A0A178 #8CA178 #78A179
triadic
#8CA178 #788CA1 #A1788C
tetradic
#8CA178 #78A0A1 #8D78A1 #A17978
square
#8CA178 #78A0A1 #8D78A1 #A17978
split-complementary
#8CA178 #7978A1 #A178A0
monochromatic
#4F5D41 #6D825A #8CA178 #ABBA9C #C9D3C0

Accessibility & contrast

On white

2.81
#8CA178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#8CA178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA178
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA178#FFFFFF#000000##000000
##8CA1781.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59B75
Deuteranopia (green-blind)
#A29A7A
Tritanopia (blue-blind)
#8D9D96
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8ca178;
/* rgb */ color: rgb(140, 161, 120);
/* oklch */ color: oklch(68.2% 0.063 130.0);
Tailwind
colors: {
  custom: {
    50: '#aebc9f',
    500: '#8ca178',
    950: '#000000',
  },
}
SCSS
$custom: #8ca178;
$custom-light: #aebc9f;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca178",
  "rgb": {
    "r": 140,
    "g": 161,
    "b": 120
  },
  "hsl": {
    "h": 90.732,
    "s": 17.904,
    "l": 55.098
  },
  "oklch": {
    "l": 0.68162,
    "c": 0.06283,
    "h": 130
  },
  "luminance": 0.32421
}

Semantic roles & 50–950 ramp

primary
#8CA178
secondary
#BBB2C3
accent
#6DBB95
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#10120E
muted
#7F817E

Preview Lab

Preview with #8CA178

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8CA178 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva