#8EB271#8EB271

#8EB271 is a light, moderate yellow-green. Relative luminance 0.388; OKLCH L 72.1% C 0.098 H 132.0°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#8EB271
RGBrgb(142, 178, 113)
HSLhsl(93, 30%, 57%)
HSVhsv(93, 37%, 70%)
CMYKcmyk(20.2%, 0%, 36.5%, 30.2%)
CIE-LABlab(68.59, -23.99, 29.35)
CIE-LCHlch(68.59, 37.90, 129.26°)
OKLaboklab(72.08% -0.0655 0.0727)
OKLCHoklch(72.08% 0.098 132)
XYZxyz(30.0558, 38.7833, 21.5220)
Luminance0.3878 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB271 #9571B2
analogous
#AEB271 #8EB271 #71B275
triadic
#8EB271 #718EB2 #B2718E
tetradic
#8EB271 #71AEB2 #9571B2 #B27571
square
#8EB271 #71AEB2 #9571B2 #B27571
split-complementary
#8EB271 #7571B2 #B271AE
monochromatic
#526D3B #6F9551 #8EB271 #AEC899 #CDDDC0

Accessibility & contrast

On white

2.40
#8EB271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#8EB271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB271
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB271#FFFFFF#000000##000000
##8EB2711.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A96C
Deuteranopia (green-blind)
#B2A674
Tritanopia (blue-blind)
#8FADA2
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8eb271;
/* rgb */ color: rgb(142, 178, 113);
/* oklch */ color: oklch(72.1% 0.098 132.0);
Tailwind
colors: {
  custom: {
    50: '#b0c99a',
    500: '#8eb271',
    950: '#000000',
  },
}
SCSS
$custom: #8eb271;
$custom-light: #b0c99a;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb271",
  "rgb": {
    "r": 142,
    "g": 178,
    "b": 113
  },
  "hsl": {
    "h": 93.231,
    "s": 29.68,
    "l": 57.059
  },
  "oklch": {
    "l": 0.72084,
    "c": 0.09789,
    "h": 132
  },
  "luminance": 0.38784
}

Semantic roles & 50–950 ramp

primary
#8EB271
secondary
#C1B2CD
accent
#62C699
background
#FAFCF9
surface
#F5F8F2
border
#CFD1CC
text
#10130E
muted
#7F827E

Preview Lab

Preview with #8EB271

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

Preview Lab → · Contrast checker → · Palette generator →

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