#8EBA2C#8EBA2C

#8EBA2C is a light, vivid yellow-green. Relative luminance 0.410; OKLCH L 73.2% C 0.170 H 125.8°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#8EBA2C
RGBrgb(142, 186, 44)
HSLhsl(79, 62%, 45%)
HSVhsv(79, 76%, 73%)
CMYKcmyk(23.7%, 0%, 76.3%, 27.1%)
CIE-LABlab(70.21, -34.34, 62.27)
CIE-LCHlch(70.21, 71.11, 118.87°)
OKLaboklab(73.16% -0.0994 0.1377)
OKLCHoklch(73.16% 0.17 125.8)
XYZxyz(29.1691, 41.0500, 8.7691)
Luminance0.4105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EBA2C #582CBA
analogous
#BA9F2C #8EBA2C #47BA2C
triadic
#8EBA2C #2C8EBA #BA2C8E
tetradic
#8EBA2C #2CBA9F #582CBA #BA2C47
square
#8EBA2C #2CBA9F #582CBA #BA2C47
split-complementary
#8EBA2C #2C47BA #9F2CBA
monochromatic
#425715 #688920 #8EBA2C #ABD54E #C3E180

Accessibility & contrast

On white

2.28
#8EBA2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#8EBA2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EBA2C
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EBA2C#FFFFFF#000000##000000
##8EBA2C1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD06
Deuteranopia (green-blind)
#BEAB3A
Tritanopia (blue-blind)
#94B19F
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #8eba2c;
/* rgb */ color: rgb(142, 186, 44);
/* oklch */ color: oklch(73.2% 0.170 125.8);
Tailwind
colors: {
  custom: {
    50: '#b3cf70',
    500: '#8eba2c',
    950: '#000000',
  },
}
SCSS
$custom: #8eba2c;
$custom-light: #b3cf70;
$custom-dark: #000000;
JSON
{
  "hex": "#8eba2c",
  "rgb": {
    "r": 142,
    "g": 186,
    "b": 44
  },
  "hsl": {
    "h": 78.592,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73156,
    "c": 0.16987,
    "h": 125.8
  },
  "luminance": 0.4105
}

Semantic roles & 50–950 ramp

primary
#8EBA2C
secondary
#9178CA
accent
#43E575
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8EBA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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