#8EBC2A#8EBC2A

#8EBC2A is a light, vivid yellow-green. Relative luminance 0.419; OKLCH L 73.6% C 0.173 H 126.2°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#8EBC2A
RGBrgb(142, 188, 42)
HSLhsl(79, 63%, 45%)
HSVhsv(79, 78%, 74%)
CMYKcmyk(24.5%, 0%, 77.7%, 26.3%)
CIE-LABlab(70.79, -35.35, 63.44)
CIE-LCHlch(70.79, 72.62, 119.13°)
OKLaboklab(73.62% -0.1024 0.1399)
OKLCHoklch(73.62% 0.173 126.2)
XYZxyz(29.5566, 41.8839, 8.7173)
Luminance0.4188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EBC2A #582ABC
analogous
#BCA12A #8EBC2A #45BC2A
triadic
#8EBC2A #2A8EBC #BC2A8E
tetradic
#8EBC2A #2ABCA1 #582ABC #BC2A45
square
#8EBC2A #2ABCA1 #582ABC #BC2A45
split-complementary
#8EBC2A #2A45BC #A12ABC
monochromatic
#425814 #688A1F #8EBC2A #ABD74C #C3E27E

Accessibility & contrast

On white

2.24
#8EBC2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#8EBC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EBC2A
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EBC2A#FFFFFF#000000##000000
##8EBC2A1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C0AC39
Tritanopia (blue-blind)
#94B3A1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #8ebc2a;
/* rgb */ color: rgb(142, 188, 42);
/* oklch */ color: oklch(73.6% 0.173 126.2);
Tailwind
colors: {
  custom: {
    50: '#b3d070',
    500: '#8ebc2a',
    950: '#000000',
  },
}
SCSS
$custom: #8ebc2a;
$custom-light: #b3d070;
$custom-dark: #000000;
JSON
{
  "hex": "#8ebc2a",
  "rgb": {
    "r": 142,
    "g": 188,
    "b": 42
  },
  "hsl": {
    "h": 78.904,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73623,
    "c": 0.17331,
    "h": 126.2
  },
  "luminance": 0.41884
}

Semantic roles & 50–950 ramp

primary
#8EBC2A
secondary
#9177CB
accent
#41E775
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111408
muted
#80827B

Preview Lab

Preview with #8EBC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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