#8EA271#8EA271

#8EA271 is a light, moderate yellow-green. Relative luminance 0.328; OKLCH L 68.4% C 0.072 H 126.3°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#8EA271
RGBrgb(142, 162, 113)
HSLhsl(84, 21%, 54%)
HSVhsv(84, 30%, 64%)
CMYKcmyk(12.3%, 0%, 30.2%, 36.5%)
CIE-LABlab(63.99, -15.85, 23.24)
CIE-LCHlch(63.99, 28.13, 124.31°)
OKLaboklab(68.39% -0.0428 0.0583)
OKLCHoklch(68.39% 0.072 126.3)
XYZxyz(27.0559, 32.7835, 20.5220)
Luminance0.3278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA271 #8571A2
analogous
#A29E71 #8EA271 #76A271
triadic
#8EA271 #718EA2 #A2718E
tetradic
#8EA271 #71A29E #8571A2 #A27176
square
#8EA271 #71A29E #8571A2 #A27176
split-complementary
#8EA271 #7176A2 #9E71A2
monochromatic
#4F5C3C #6F8155 #8EA271 #ABBA96 #C9D2BB

Accessibility & contrast

On white

2.78
#8EA271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#8EA271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA271
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA271#FFFFFF#000000##000000
##8EA2711.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79C6E
Deuteranopia (green-blind)
#A49B73
Tritanopia (blue-blind)
#919D95
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8ea271;
/* rgb */ color: rgb(142, 162, 113);
/* oklch */ color: oklch(68.4% 0.072 126.3);
Tailwind
colors: {
  custom: {
    50: '#afbd9a',
    500: '#8ea271',
    950: '#000000',
  },
}
SCSS
$custom: #8ea271;
$custom-light: #afbd9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea271",
  "rgb": {
    "r": 142,
    "g": 162,
    "b": 113
  },
  "hsl": {
    "h": 84.49,
    "s": 20.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.68391,
    "c": 0.07233,
    "h": 126.3
  },
  "luminance": 0.32784
}

Semantic roles & 50–950 ramp

primary
#8EA271
secondary
#B5ADC2
accent
#6ABD8C
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#10120E
muted
#7F817E

Preview Lab

Preview with #8EA271

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

Preview Lab → · Contrast checker → · Palette generator →

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