#8CA271#8CA271

#8CA271 is a light, moderate yellow-green. Relative luminance 0.326; OKLCH L 68.2% C 0.073 H 127.9°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#8CA271
RGBrgb(140, 162, 113)
HSLhsl(87, 21%, 54%)
HSVhsv(87, 30%, 64%)
CMYKcmyk(13.6%, 0%, 30.2%, 36.5%)
CIE-LABlab(63.84, -16.62, 23.02)
CIE-LCHlch(63.84, 28.39, 125.83°)
OKLaboklab(68.24% -0.0449 0.0578)
OKLCHoklch(68.24% 0.073 127.9)
XYZxyz(26.7158, 32.6081, 20.5061)
Luminance0.3261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA271 #8771A2
analogous
#A2A071 #8CA271 #74A271
triadic
#8CA271 #718CA2 #A2718C
tetradic
#8CA271 #71A2A0 #8771A2 #A27174
square
#8CA271 #71A2A0 #8771A2 #A27174
split-complementary
#8CA271 #7174A2 #A071A2
monochromatic
#4E5C3C #6D8155 #8CA271 #AABA96 #C8D2BB

Accessibility & contrast

On white

2.79
#8CA271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#8CA271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA271
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA271#FFFFFF#000000##000000
##8CA2711.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79C6E
Deuteranopia (green-blind)
#A49A73
Tritanopia (blue-blind)
#8E9E95
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8ca271;
/* rgb */ color: rgb(140, 162, 113);
/* oklch */ color: oklch(68.2% 0.073 127.9);
Tailwind
colors: {
  custom: {
    50: '#aebd9a',
    500: '#8ca271',
    950: '#000000',
  },
}
SCSS
$custom: #8ca271;
$custom-light: #aebd9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca271",
  "rgb": {
    "r": 140,
    "g": 162,
    "b": 113
  },
  "hsl": {
    "h": 86.939,
    "s": 20.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.6824,
    "c": 0.07321,
    "h": 127.9
  },
  "luminance": 0.32608
}

Semantic roles & 50–950 ramp

primary
#8CA271
secondary
#B6ADC2
accent
#6ABD90
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#10120E
muted
#7F817E

Preview Lab

Preview with #8CA271

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

Preview Lab → · Contrast checker → · Palette generator →

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