#8EB138#8EB138

#8EB138 is a light, vivid yellow-green. Relative luminance 0.375; OKLCH L 71.1% C 0.151 H 124.2°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#8EB138
RGBrgb(142, 177, 56)
HSLhsl(77, 52%, 46%)
HSVhsv(77, 68%, 69%)
CMYKcmyk(19.8%, 0%, 68.4%, 30.6%)
CIE-LABlab(67.64, -29.43, 55.43)
CIE-LCHlch(67.64, 62.76, 117.97°)
OKLaboklab(71.1% -0.085 0.1252)
OKLCHoklch(71.1% 0.151 124.2)
XYZxyz(27.5915, 37.4804, 9.5214)
Luminance0.3748 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB138 #5B38B1
analogous
#B19738 #8EB138 #52B138
triadic
#8EB138 #388EB1 #B1388E
tetradic
#8EB138 #38B197 #5B38B1 #B13852
square
#8EB138 #38B197 #5B38B1 #B13852
split-complementary
#8EB138 #3852B1 #9738B1
monochromatic
#43541B #698329 #8EB138 #ABCB5B #C3DA8A

Accessibility & contrast

On white

2.47
#8EB138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#8EB138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB138
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB138#FFFFFF#000000##000000
##8EB1381.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA626
Deuteranopia (green-blind)
#B6A442
Tritanopia (blue-blind)
#95A899
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8eb138;
/* rgb */ color: rgb(142, 177, 56);
/* oklch */ color: oklch(71.1% 0.151 124.2);
Tailwind
colors: {
  custom: {
    50: '#b2c875',
    500: '#8eb138',
    950: '#000000',
  },
}
SCSS
$custom: #8eb138;
$custom-light: #b2c875;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb138",
  "rgb": {
    "r": 142,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 77.355,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71095,
    "c": 0.15134,
    "h": 124.2
  },
  "luminance": 0.37481
}

Semantic roles & 50–950 ramp

primary
#8EB138
secondary
#9481C4
accent
#4CDB76
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8EB138

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

Preview Lab → · Contrast checker → · Palette generator →

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