#8EAC5A#8EAC5A

#8EAC5A is a light, moderate yellow-green. Relative luminance 0.360; OKLCH L 70.3% C 0.114 H 125.7°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8EAC5A
RGBrgb(142, 172, 90)
HSLhsl(82, 33%, 51%)
HSVhsv(82, 48%, 67%)
CMYKcmyk(17.4%, 0%, 47.7%, 32.5%)
CIE-LABlab(66.52, -23.96, 38.62)
CIE-LCHlch(66.52, 45.44, 121.81°)
OKLaboklab(70.3% -0.0667 0.0928)
OKLCHoklch(70.3% 0.114 125.7)
XYZxyz(27.7532, 35.9938, 15.1562)
Luminance0.3599 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EAC5A #785AAC
analogous
#ACA15A #8EAC5A #65AC5A
triadic
#8EAC5A #5A8EAC #AC5A8E
tetradic
#8EAC5A #5AACA1 #785AAC #AC5A65
square
#8EAC5A #5AACA1 #785AAC #AC5A65
split-complementary
#8EAC5A #5A65AC #A15AAC
monochromatic
#4C5D2F #6D8643 #8EAC5A #AAC083 #C6D5AB

Accessibility & contrast

On white

2.56
#8EAC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#8EAC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EAC5A
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EAC5A#FFFFFF#000000##000000
##8EAC5A1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A353
Deuteranopia (green-blind)
#AFA15F
Tritanopia (blue-blind)
#93A599
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8eac5a;
/* rgb */ color: rgb(142, 172, 90);
/* oklch */ color: oklch(70.3% 0.114 125.7);
Tailwind
colors: {
  custom: {
    50: '#b0c48a',
    500: '#8eac5a',
    950: '#000000',
  },
}
SCSS
$custom: #8eac5a;
$custom-light: #b0c48a;
$custom-dark: #000000;
JSON
{
  "hex": "#8eac5a",
  "rgb": {
    "r": 142,
    "g": 172,
    "b": 90
  },
  "hsl": {
    "h": 81.951,
    "s": 33.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.70302,
    "c": 0.11427,
    "h": 125.7
  },
  "luminance": 0.35994
}

Semantic roles & 50–950 ramp

primary
#8EAC5A
secondary
#AC9FC3
accent
#5FC986
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11120C
muted
#80817D

Preview Lab

Preview with #8EAC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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