#8EB126#8EB126

#8EB126 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#8EB126
RGBrgb(142, 177, 38)
HSLhsl(75, 65%, 42%)
HSVhsv(75, 79%, 69%)
CMYKcmyk(19.8%, 0%, 78.5%, 30.6%)
CIE-LABlab(67.53, -30.43, 61.65)
CIE-LCHlch(67.53, 68.75, 116.27°)
OKLaboklab(70.97% -0.0892 0.1354)
OKLCHoklch(70.97% 0.162 123.4)
XYZxyz(27.2277, 37.3348, 7.6053)
Luminance0.3734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB126 #4926B1
analogous
#B18F26 #8EB126 #49B126
triadic
#8EB126 #268EB1 #B1268E
tetradic
#8EB126 #26B18F #4926B1 #B12649
square
#8EB126 #26B18F #4926B1 #B12649
split-complementary
#8EB126 #2649B1 #8F26B1
monochromatic
#3D4C10 #667F1B #8EB126 #B0D63F #C4E071

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EB126#FFFFFF#000000##000000
##8EB1261.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)
#BCA500
Deuteranopia (green-blind)
#B7A434
Tritanopia (blue-blind)
#95A897
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8eb126;
/* rgb */ color: rgb(142, 177, 38);
/* oklch */ color: oklch(71.0% 0.162 123.4);
Tailwind
colors: {
  custom: {
    50: '#b3c86d',
    500: '#8eb126',
    950: '#000000',
  },
}
SCSS
$custom: #8eb126;
$custom-light: #b3c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb126",
  "rgb": {
    "r": 142,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 75.108,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70973,
    "c": 0.16217,
    "h": 123.4
  },
  "luminance": 0.37335
}

Semantic roles & 50–950 ramp

primary
#8EB126
secondary
#836BC7
accent
#40E86A
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #8EB126

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

Preview Lab → · Contrast checker → · Palette generator →

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