#8EAF2A#8EAF2A

#8EAF2A is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.5% C 0.158 H 123.0°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#8EAF2A
RGBrgb(142, 175, 42)
HSLhsl(75, 61%, 43%)
HSVhsv(75, 76%, 69%)
CMYKcmyk(18.9%, 0%, 76%, 31.4%)
CIE-LABlab(66.96, -29.29, 59.85)
CIE-LCHlch(66.96, 66.64, 116.08°)
OKLaboklab(70.52% -0.0858 0.1323)
OKLCHoklch(70.52% 0.158 123)
XYZxyz(26.9036, 36.5778, 7.8329)
Luminance0.3658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EAF2A #4B2AAF
analogous
#AF8D2A #8EAF2A #4CAF2A
triadic
#8EAF2A #2A8EAF #AF2A8E
tetradic
#8EAF2A #2AAF8D #4B2AAF #AF2A4C
square
#8EAF2A #2AAF8D #4B2AAF #AF2A4C
split-complementary
#8EAF2A #2A4CAF #8D2AAF
monochromatic
#3E4C12 #667E1E #8EAF2A #AFD244 #C4DE75

Accessibility & contrast

On white

2.53
#8EAF2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#8EAF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EAF2A
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EAF2A#FFFFFF#000000##000000
##8EAF2A1.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A409
Deuteranopia (green-blind)
#B5A337
Tritanopia (blue-blind)
#95A696
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8eaf2a;
/* rgb */ color: rgb(142, 175, 42);
/* oklch */ color: oklch(70.5% 0.158 123.0);
Tailwind
colors: {
  custom: {
    50: '#b3c76e',
    500: '#8eaf2a',
    950: '#000000',
  },
}
SCSS
$custom: #8eaf2a;
$custom-light: #b3c76e;
$custom-dark: #000000;
JSON
{
  "hex": "#8eaf2a",
  "rgb": {
    "r": 142,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 74.887,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.7052,
    "c": 0.15768,
    "h": 123
  },
  "luminance": 0.36578
}

Semantic roles & 50–950 ramp

primary
#8EAF2A
secondary
#856FC6
accent
#43E46B
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8EAF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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