#8EA781#8EA781

#8EA781 is a light, moderate yellow-green. Relative luminance 0.350; OKLCH L 69.9% C 0.061 H 135.0°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#8EA781
RGBrgb(142, 167, 129)
HSLhsl(99, 18%, 58%)
HSVhsv(99, 23%, 65%)
CMYKcmyk(15%, 0%, 22.8%, 34.5%)
CIE-LABlab(65.73, -15.92, 16.84)
CIE-LCHlch(65.73, 23.17, 133.38°)
OKLaboklab(69.88% -0.043 0.043)
OKLCHoklch(69.88% 0.061 135)
XYZxyz(28.9357, 34.9728, 25.9906)
Luminance0.3497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA781 #9A81A7
analogous
#A1A781 #8EA781 #81A787
triadic
#8EA781 #818EA7 #A7818E
tetradic
#8EA781 #81A1A7 #9A81A7 #A78781
square
#8EA781 #81A1A7 #9A81A7 #A78781
split-complementary
#8EA781 #8781A7 #A781A1
monochromatic
#526647 #6F8A61 #8EA781 #AEC0A5 #CFD9C9

Accessibility & contrast

On white

2.63
#8EA781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#8EA781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA781
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA781#FFFFFF#000000##000000
##8EA7811.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAA17F
Deuteranopia (green-blind)
#A69F83
Tritanopia (blue-blind)
#8EA49D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8ea781;
/* rgb */ color: rgb(142, 167, 129);
/* oklch */ color: oklch(69.9% 0.061 135.0);
Tailwind
colors: {
  custom: {
    50: '#afc1a5',
    500: '#8ea781',
    950: '#000000',
  },
}
SCSS
$custom: #8ea781;
$custom-light: #afc1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea781",
  "rgb": {
    "r": 142,
    "g": 167,
    "b": 129
  },
  "hsl": {
    "h": 99.474,
    "s": 17.757,
    "l": 58.039
  },
  "oklch": {
    "l": 0.69884,
    "c": 0.0608,
    "h": 135
  },
  "luminance": 0.34973
}

Semantic roles & 50–950 ramp

primary
#8EA781
secondary
#C4BAC9
accent
#6DBAA0
background
#FAFBFA
surface
#F4F7F4
border
#CED0CE
text
#10120F
muted
#7F817F

Preview Lab

Preview with #8EA781

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

Preview Lab → · Contrast checker → · Palette generator →

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