#8EBC2C#8EBC2C

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

Color values

HEX#8EBC2C
RGBrgb(142, 188, 44)
HSLhsl(79, 62%, 45%)
HSVhsv(79, 77%, 74%)
CMYKcmyk(24.5%, 0%, 76.6%, 26.3%)
CIE-LABlab(70.80, -35.26, 62.83)
CIE-LCHlch(70.80, 72.04, 119.30°)
OKLaboklab(73.63% -0.1019 0.1389)
OKLCHoklch(73.63% 0.172 126.3)
XYZxyz(29.5933, 41.8986, 8.9105)
Luminance0.4190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EBC2C #5A2CBC
analogous
#BCA22C #8EBC2C #46BC2C
triadic
#8EBC2C #2C8EBC #BC2C8E
tetradic
#8EBC2C #2CBCA2 #5A2CBC #BC2C46
square
#8EBC2C #2CBCA2 #5A2CBC #BC2C46
split-complementary
#8EBC2C #2C46BC #A22CBC
monochromatic
#435915 #698A20 #8EBC2C #ABD64F #C3E181

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EBC2C#FFFFFF#000000##000000
##8EBC2C1.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)
#C6AF04
Deuteranopia (green-blind)
#C0AC3A
Tritanopia (blue-blind)
#94B3A1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #8ebc2c;
/* rgb */ color: rgb(142, 188, 44);
/* oklch */ color: oklch(73.6% 0.172 126.3);
Tailwind
colors: {
  custom: {
    50: '#b3d071',
    500: '#8ebc2c',
    950: '#000000',
  },
}
SCSS
$custom: #8ebc2c;
$custom-light: #b3d071;
$custom-dark: #000000;
JSON
{
  "hex": "#8ebc2c",
  "rgb": {
    "r": 142,
    "g": 188,
    "b": 44
  },
  "hsl": {
    "h": 79.167,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73635,
    "c": 0.17228,
    "h": 126.3
  },
  "luminance": 0.41899
}

Semantic roles & 50–950 ramp

primary
#8EBC2C
secondary
#9379CA
accent
#43E577
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111408
muted
#80827B

Preview Lab

Preview with #8EBC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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