#8EBC2D#8EBC2D

#8EBC2D 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#8EBC2D
RGBrgb(142, 188, 45)
HSLhsl(79, 61%, 46%)
HSVhsv(79, 76%, 74%)
CMYKcmyk(24.5%, 0%, 76.1%, 26.3%)
CIE-LABlab(70.81, -35.20, 62.51)
CIE-LCHlch(70.81, 71.74, 119.39°)
OKLaboklab(73.64% -0.1017 0.1384)
OKLCHoklch(73.64% 0.172 126.3)
XYZxyz(29.6124, 41.9062, 9.0107)
Luminance0.4191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EBC2D #5B2DBC
analogous
#BCA22D #8EBC2D #46BC2D
triadic
#8EBC2D #2D8EBC #BC2D8E
tetradic
#8EBC2D #2DBCA2 #5B2DBC #BC2D46
square
#8EBC2D #2DBCA2 #5B2DBC #BC2D46
split-complementary
#8EBC2D #2D46BC #A22DBC
monochromatic
#435915 #698B21 #8EBC2D #ABD551 #C3E182

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EBC2D#FFFFFF#000000##000000
##8EBC2D1.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)
#C6AF08
Deuteranopia (green-blind)
#C0AC3B
Tritanopia (blue-blind)
#94B3A1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #8ebc2d;
/* rgb */ color: rgb(142, 188, 45);
/* oklch */ color: oklch(73.6% 0.172 126.3);
Tailwind
colors: {
  custom: {
    50: '#b3d071',
    500: '#8ebc2d',
    950: '#000000',
  },
}
SCSS
$custom: #8ebc2d;
$custom-light: #b3d071;
$custom-dark: #000000;
JSON
{
  "hex": "#8ebc2d",
  "rgb": {
    "r": 142,
    "g": 188,
    "b": 45
  },
  "hsl": {
    "h": 79.301,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73641,
    "c": 0.17176,
    "h": 126.3
  },
  "luminance": 0.41907
}

Semantic roles & 50–950 ramp

primary
#8EBC2D
secondary
#947BCA
accent
#43E477
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111408
muted
#80827B

Preview Lab

Preview with #8EBC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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