#8CB174#8CB174

#8CB174 is a light, moderate yellow-green. Relative luminance 0.383; OKLCH L 71.8% C 0.094 H 133.7°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#8CB174
RGBrgb(140, 177, 116)
HSLhsl(96, 28%, 57%)
HSVhsv(96, 34%, 69%)
CMYKcmyk(20.9%, 0%, 34.5%, 30.6%)
CIE-LABlab(68.23, -23.79, 27.25)
CIE-LCHlch(68.23, 36.18, 131.13°)
OKLaboklab(71.77% -0.0649 0.0679)
OKLCHoklch(71.77% 0.094 133.7)
XYZxyz(29.6891, 38.2801, 22.3442)
Luminance0.3828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB174 #9974B1
analogous
#ABB174 #8CB174 #74B17A
triadic
#8CB174 #748CB1 #B1748C
tetradic
#8CB174 #74ABB1 #9974B1 #B17A74
square
#8CB174 #74ABB1 #9974B1 #B17A74
split-complementary
#8CB174 #7A74B1 #B174AB
monochromatic
#506D3D #6D9453 #8CB174 #ACC79B #CDDDC2

Accessibility & contrast

On white

2.43
#8CB174 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#8CB174 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB174
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB174#FFFFFF#000000##000000
##8CB1741.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A870
Deuteranopia (green-blind)
#B0A577
Tritanopia (blue-blind)
#8CACA1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8cb174;
/* rgb */ color: rgb(140, 177, 116);
/* oklch */ color: oklch(71.8% 0.094 133.7);
Tailwind
colors: {
  custom: {
    50: '#aec89c',
    500: '#8cb174',
    950: '#000000',
  },
}
SCSS
$custom: #8cb174;
$custom-light: #aec89c;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb174",
  "rgb": {
    "r": 140,
    "g": 177,
    "b": 116
  },
  "hsl": {
    "h": 96.393,
    "s": 28.111,
    "l": 57.451
  },
  "oklch": {
    "l": 0.71772,
    "c": 0.09391,
    "h": 133.7
  },
  "luminance": 0.38281
}

Semantic roles & 50–950 ramp

primary
#8CB174
secondary
#C3B4CD
accent
#63C49E
background
#FAFCF9
surface
#F4F8F2
border
#CED1CC
text
#10130E
muted
#7F827E

Preview Lab

Preview with #8CB174

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

Preview Lab → · Contrast checker → · Palette generator →

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