#8EBA42#8EBA42

#8EBA42 is a light, vivid yellow-green. Relative luminance 0.413; OKLCH L 73.3% C 0.156 H 127.1°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#8EBA42
RGBrgb(142, 186, 66)
HSLhsl(82, 48%, 49%)
HSVhsv(82, 65%, 73%)
CMYKcmyk(23.7%, 0%, 64.5%, 27.1%)
CIE-LABlab(70.36, -32.95, 54.21)
CIE-LCHlch(70.36, 63.44, 121.29°)
OKLaboklab(73.32% -0.0938 0.1241)
OKLCHoklch(73.32% 0.156 127.1)
XYZxyz(29.6976, 41.2614, 11.5528)
Luminance0.4126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EBA42 #6E42BA
analogous
#BAAA42 #8EBA42 #52BA42
triadic
#8EBA42 #428EBA #BA428E
tetradic
#8EBA42 #42BAAA #6E42BA #BA4252
square
#8EBA42 #42BAAA #6E42BA #BA4252
split-complementary
#8EBA42 #4252BA #AA42BA
monochromatic
#496022 #6C8D32 #8EBA42 #A9CB6E #C4DB9B

Accessibility & contrast

On white

2.27
#8EBA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#8EBA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EBA42
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EBA42#FFFFFF#000000##000000
##8EBA421.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE33
Deuteranopia (green-blind)
#BDAB4B
Tritanopia (blue-blind)
#93B2A1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #8eba42;
/* rgb */ color: rgb(142, 186, 66);
/* oklch */ color: oklch(73.3% 0.156 127.1);
Tailwind
colors: {
  custom: {
    50: '#b2cf7c',
    500: '#8eba42',
    950: '#000000',
  },
}
SCSS
$custom: #8eba42;
$custom-light: #b2cf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#8eba42",
  "rgb": {
    "r": 142,
    "g": 186,
    "b": 66
  },
  "hsl": {
    "h": 82,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.73323,
    "c": 0.15553,
    "h": 127.1
  },
  "luminance": 0.41262
}

Semantic roles & 50–950 ramp

primary
#8EBA42
secondary
#A590C8
accent
#51D782
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8EBA42

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

Preview Lab → · Contrast checker → · Palette generator →

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