#8EBC2F#8EBC2F

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

Color values

HEX#8EBC2F
RGBrgb(142, 188, 47)
HSLhsl(80, 60%, 46%)
HSVhsv(80, 75%, 74%)
CMYKcmyk(24.5%, 0%, 75%, 26.3%)
CIE-LABlab(70.82, -35.10, 61.86)
CIE-LCHlch(70.82, 71.13, 119.57°)
OKLaboklab(73.65% -0.1013 0.1373)
OKLCHoklch(73.65% 0.171 126.4)
XYZxyz(29.6518, 41.9220, 9.2183)
Luminance0.4192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EBC2F #5D2FBC
analogous
#BCA32F #8EBC2F #48BC2F
triadic
#8EBC2F #2F8EBC #BC2F8E
tetradic
#8EBC2F #2FBCA3 #5D2FBC #BC2F48
square
#8EBC2F #2FBCA3 #5D2FBC #BC2F48
split-complementary
#8EBC2F #2F48BC #A32FBC
monochromatic
#445A17 #698B23 #8EBC2F #AAD454 #C3E085

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EBC2F#FFFFFF#000000##000000
##8EBC2F1.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)
#C6AF0F
Deuteranopia (green-blind)
#C0AD3D
Tritanopia (blue-blind)
#94B3A1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #8ebc2f;
/* rgb */ color: rgb(142, 188, 47);
/* oklch */ color: oklch(73.7% 0.171 126.4);
Tailwind
colors: {
  custom: {
    50: '#b3d072',
    500: '#8ebc2f',
    950: '#000000',
  },
}
SCSS
$custom: #8ebc2f;
$custom-light: #b3d072;
$custom-dark: #000000;
JSON
{
  "hex": "#8ebc2f",
  "rgb": {
    "r": 142,
    "g": 188,
    "b": 47
  },
  "hsl": {
    "h": 79.574,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73653,
    "c": 0.17066,
    "h": 126.4
  },
  "luminance": 0.41922
}

Semantic roles & 50–950 ramp

primary
#8EBC2F
secondary
#967DCA
accent
#45E378
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111408
muted
#80827B

Preview Lab

Preview with #8EBC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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