#8EAC2F#8EAC2F

#8EAC2F is a light, vivid yellow-green. Relative luminance 0.355; OKLCH L 69.8% C 0.151 H 122.3°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#8EAC2F
RGBrgb(142, 172, 47)
HSLhsl(74, 57%, 43%)
HSVhsv(74, 73%, 67%)
CMYKcmyk(17.4%, 0%, 72.7%, 32.5%)
CIE-LABlab(66.11, -27.59, 57.30)
CIE-LCHlch(66.11, 63.60, 115.71°)
OKLaboklab(69.84% -0.0807 0.1278)
OKLCHoklch(69.84% 0.151 122.3)
XYZxyz(26.4213, 35.4610, 8.1415)
Luminance0.3546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EAC2F #4D2FAC
analogous
#AC8B2F #8EAC2F #4FAC2F
triadic
#8EAC2F #2F8EAC #AC2F8E
tetradic
#8EAC2F #2FAC8B #4D2FAC #AC2F4F
square
#8EAC2F #2FAC8B #4D2FAC #AC2F4F
split-complementary
#8EAC2F #2F4FAC #8B2FAC
monochromatic
#3F4C15 #667C22 #8EAC2F #AECE4B #C4DB7B

Accessibility & contrast

On white

2.60
#8EAC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#8EAC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EAC2F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EAC2F#FFFFFF#000000##000000
##8EAC2F1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A118
Deuteranopia (green-blind)
#B2A13A
Tritanopia (blue-blind)
#96A394
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8eac2f;
/* rgb */ color: rgb(142, 172, 47);
/* oklch */ color: oklch(69.8% 0.151 122.3);
Tailwind
colors: {
  custom: {
    50: '#b2c470',
    500: '#8eac2f',
    950: '#000000',
  },
}
SCSS
$custom: #8eac2f;
$custom-light: #b2c470;
$custom-dark: #000000;
JSON
{
  "hex": "#8eac2f",
  "rgb": {
    "r": 142,
    "g": 172,
    "b": 47
  },
  "hsl": {
    "h": 74.4,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.6984,
    "c": 0.15112,
    "h": 122.3
  },
  "luminance": 0.35461
}

Semantic roles & 50–950 ramp

primary
#8EAC2F
secondary
#8774C3
accent
#47E06C
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8EAC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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