#8CA173#8CA173

#8CA173 is a light, moderate yellow-green. Relative luminance 0.323; OKLCH L 68.1% C 0.069 H 128.1°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8CA173
RGBrgb(140, 161, 115)
HSLhsl(87, 20%, 54%)
HSVhsv(87, 29%, 63%)
CMYKcmyk(13%, 0%, 28.6%, 36.9%)
CIE-LABlab(63.59, -15.80, 21.59)
CIE-LCHlch(63.59, 26.75, 126.19°)
OKLaboklab(68.05% -0.0426 0.0544)
OKLCHoklch(68.05% 0.069 128.1)
XYZxyz(26.6542, 32.3028, 21.0472)
Luminance0.3230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA173 #8873A1
analogous
#A19F73 #8CA173 #75A173
triadic
#8CA173 #738CA1 #A1738C
tetradic
#8CA173 #73A19F #8873A1 #A17375
square
#8CA173 #73A19F #8873A1 #A17375
split-complementary
#8CA173 #7375A1 #9F73A1
monochromatic
#4E5C3E #6D8156 #8CA173 #AABA98 #C8D2BC

Accessibility & contrast

On white

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

On black

7.46
#8CA173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA173
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA173#FFFFFF#000000##000000
##8CA1731.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69B70
Deuteranopia (green-blind)
#A39A75
Tritanopia (blue-blind)
#8E9D95
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8ca173;
/* rgb */ color: rgb(140, 161, 115);
/* oklch */ color: oklch(68.1% 0.069 128.1);
Tailwind
colors: {
  custom: {
    50: '#aebc9b',
    500: '#8ca173',
    950: '#000000',
  },
}
SCSS
$custom: #8ca173;
$custom-light: #aebc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca173",
  "rgb": {
    "r": 140,
    "g": 161,
    "b": 115
  },
  "hsl": {
    "h": 87.391,
    "s": 19.658,
    "l": 54.118
  },
  "oklch": {
    "l": 0.68053,
    "c": 0.06909,
    "h": 128.1
  },
  "luminance": 0.32303
}

Semantic roles & 50–950 ramp

primary
#8CA173
secondary
#B7AEC2
accent
#6CBC90
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#10120E
muted
#7F817E

Preview Lab

Preview with #8CA173

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

Preview Lab → · Contrast checker → · Palette generator →

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