#8EB771#8EB771

#8EB771 is a light, moderate yellow-green. Relative luminance 0.408; OKLCH L 73.2% C 0.106 H 133.2°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#8EB771
RGBrgb(142, 183, 113)
HSLhsl(95, 33%, 58%)
HSVhsv(95, 38%, 72%)
CMYKcmyk(22.4%, 0%, 38.3%, 28.2%)
CIE-LABlab(70.04, -26.44, 31.24)
CIE-LCHlch(70.04, 40.93, 130.25°)
OKLaboklab(73.25% -0.0723 0.0772)
OKLCHoklch(73.25% 0.106 133.2)
XYZxyz(31.0688, 40.8093, 21.8597)
Luminance0.4081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB771 #9A71B7
analogous
#B1B771 #8EB771 #71B777
triadic
#8EB771 #718EB7 #B7718E
tetradic
#8EB771 #71B1B7 #9A71B7 #B77771
square
#8EB771 #71B1B7 #9A71B7 #B77771
split-complementary
#8EB771 #7771B7 #B771B1
monochromatic
#52733A #6F9C4F #8EB771 #AECC9A #CFE0C2

Accessibility & contrast

On white

2.29
#8EB771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#8EB771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB771
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB771#FFFFFF#000000##000000
##8EB7711.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAD6C
Deuteranopia (green-blind)
#B6AA75
Tritanopia (blue-blind)
#8FB2A6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8eb771;
/* rgb */ color: rgb(142, 183, 113);
/* oklch */ color: oklch(73.2% 0.106 133.2);
Tailwind
colors: {
  custom: {
    50: '#b0cc9a',
    500: '#8eb771',
    950: '#000000',
  },
}
SCSS
$custom: #8eb771;
$custom-light: #b0cc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb771",
  "rgb": {
    "r": 142,
    "g": 183,
    "b": 113
  },
  "hsl": {
    "h": 95.143,
    "s": 32.71,
    "l": 58.039
  },
  "oklch": {
    "l": 0.73249,
    "c": 0.10576,
    "h": 133.2
  },
  "luminance": 0.4081
}

Semantic roles & 50–950 ramp

primary
#8EB771
secondary
#C4B4D0
accent
#5FC99D
background
#FAFCF9
surface
#F5F9F2
border
#CFD2CC
text
#11130E
muted
#80827E

Preview Lab

Preview with #8EB771

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

Preview Lab → · Contrast checker → · Palette generator →

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