#8EB538#8EB538

#8EB538 is a light, vivid yellow-green. Relative luminance 0.391; OKLCH L 72.0% C 0.156 H 125.2°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#8EB538
RGBrgb(142, 181, 56)
HSLhsl(79, 53%, 46%)
HSVhsv(79, 69%, 71%)
CMYKcmyk(21.5%, 0%, 69.1%, 29%)
CIE-LABlab(68.81, -31.33, 56.63)
CIE-LCHlch(68.81, 64.72, 118.95°)
OKLaboklab(72.05% -0.0902 0.1278)
OKLCHoklch(72.05% 0.156 125.2)
XYZxyz(28.3932, 39.0837, 9.7887)
Luminance0.3908 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB538 #5F38B5
analogous
#B59E38 #8EB538 #50B538
triadic
#8EB538 #388EB5 #B5388E
tetradic
#8EB538 #38B59E #5F38B5 #B53850
square
#8EB538 #38B59E #5F38B5 #B53850
split-complementary
#8EB538 #3850B5 #9E38B5
monochromatic
#45581B #69862A #8EB538 #AACD5D #C3DB8C

Accessibility & contrast

On white

2.38
#8EB538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#8EB538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB538
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB538#FFFFFF#000000##000000
##8EB5381.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA925
Deuteranopia (green-blind)
#B9A742
Tritanopia (blue-blind)
#94AC9C
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8eb538;
/* rgb */ color: rgb(142, 181, 56);
/* oklch */ color: oklch(72.0% 0.156 125.2);
Tailwind
colors: {
  custom: {
    50: '#b2cb76',
    500: '#8eb538',
    950: '#000000',
  },
}
SCSS
$custom: #8eb538;
$custom-light: #b2cb76;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb538",
  "rgb": {
    "r": 142,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 78.72,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72046,
    "c": 0.1564,
    "h": 125.2
  },
  "luminance": 0.39084
}

Semantic roles & 50–950 ramp

primary
#8EB538
secondary
#9883C6
accent
#4CDC79
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8EB538

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

Preview Lab → · Contrast checker → · Palette generator →

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