#8EB127#8EB127

#8EB127 is a light, vivid yellow-green. Relative luminance 0.373; OKLCH L 71.0% C 0.162 H 123.4°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#8EB127
RGBrgb(142, 177, 39)
HSLhsl(75, 64%, 42%)
HSVhsv(75, 78%, 69%)
CMYKcmyk(19.8%, 0%, 78%, 30.6%)
CIE-LABlab(67.53, -30.38, 61.35)
CIE-LCHlch(67.53, 68.46, 116.35°)
OKLaboklab(70.98% -0.089 0.1349)
OKLCHoklch(70.98% 0.162 123.4)
XYZxyz(27.2440, 37.3414, 7.6914)
Luminance0.3734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB127 #4A27B1
analogous
#B18F27 #8EB127 #49B127
triadic
#8EB127 #278EB1 #B1278E
tetradic
#8EB127 #27B18F #4A27B1 #B12749
square
#8EB127 #27B18F #4A27B1 #B12749
split-complementary
#8EB127 #2749B1 #8F27B1
monochromatic
#3E4D11 #667F1C #8EB127 #AFD540 #C4E072

Accessibility & contrast

On white

2.48
#8EB127 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#8EB127 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB127
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB127#FFFFFF#000000##000000
##8EB1271.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B7A435
Tritanopia (blue-blind)
#95A897
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8eb127;
/* rgb */ color: rgb(142, 177, 39);
/* oklch */ color: oklch(71.0% 0.162 123.4);
Tailwind
colors: {
  custom: {
    50: '#b3c86d',
    500: '#8eb127',
    950: '#000000',
  },
}
SCSS
$custom: #8eb127;
$custom-light: #b3c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb127",
  "rgb": {
    "r": 142,
    "g": 177,
    "b": 39
  },
  "hsl": {
    "h": 75.217,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70979,
    "c": 0.16166,
    "h": 123.4
  },
  "luminance": 0.37342
}

Semantic roles & 50–950 ramp

primary
#8EB127
secondary
#846DC7
accent
#41E76B
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #8EB127

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

Preview Lab → · Contrast checker → · Palette generator →

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