#8EAC2A#8EAC2A

#8EAC2A is a light, vivid yellow-green. Relative luminance 0.354; OKLCH L 69.8% C 0.154 H 122.1°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#8EAC2A
RGBrgb(142, 172, 42)
HSLhsl(74, 61%, 42%)
HSVhsv(74, 76%, 67%)
CMYKcmyk(17.4%, 0%, 75.6%, 32.5%)
CIE-LABlab(66.08, -27.85, 59.02)
CIE-LCHlch(66.08, 65.26, 115.26°)
OKLaboklab(69.81% -0.0819 0.1305)
OKLCHoklch(69.81% 0.154 122.1)
XYZxyz(26.3262, 35.4229, 7.6404)
Luminance0.3542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EAC2A #482AAC
analogous
#AC892A #8EAC2A #4DAC2A
triadic
#8EAC2A #2A8EAC #AC2A8E
tetradic
#8EAC2A #2AAC89 #482AAC #AC2A4D
square
#8EAC2A #2AAC89 #482AAC #AC2A4D
split-complementary
#8EAC2A #2A4DAC #892AAC
monochromatic
#3D4A12 #657B1E #8EAC2A #B0D142 #C5DD73

Accessibility & contrast

On white

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

On black

8.08
#8EAC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EAC2A
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EAC2A#FFFFFF#000000##000000
##8EAC2A1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A10B
Deuteranopia (green-blind)
#B3A136
Tritanopia (blue-blind)
#96A393
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8eac2a;
/* rgb */ color: rgb(142, 172, 42);
/* oklch */ color: oklch(69.8% 0.154 122.1);
Tailwind
colors: {
  custom: {
    50: '#b3c46e',
    500: '#8eac2a',
    950: '#000000',
  },
}
SCSS
$custom: #8eac2a;
$custom-light: #b3c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#8eac2a",
  "rgb": {
    "r": 142,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 73.846,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69807,
    "c": 0.15409,
    "h": 122.1
  },
  "luminance": 0.35423
}

Semantic roles & 50–950 ramp

primary
#8EAC2A
secondary
#826DC4
accent
#44E469
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8EAC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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