#8EB628#8EB628

#8EB628 is a light, vivid yellow-green. Relative luminance 0.394; OKLCH L 72.2% C 0.167 H 124.7°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#8EB628
RGBrgb(142, 182, 40)
HSLhsl(77, 64%, 44%)
HSVhsv(77, 78%, 71%)
CMYKcmyk(22%, 0%, 78%, 28.6%)
CIE-LABlab(69.01, -32.68, 62.40)
CIE-LCHlch(69.01, 70.44, 117.64°)
OKLaboklab(72.18% -0.0952 0.1373)
OKLCHoklch(72.18% 0.167 124.7)
XYZxyz(28.2666, 39.3596, 8.1150)
Luminance0.3936 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB628 #5028B6
analogous
#B69728 #8EB628 #47B628
triadic
#8EB628 #288EB6 #B6288E
tetradic
#8EB628 #28B697 #5028B6 #B62847
square
#8EB628 #28B697 #5028B6 #B62847
split-complementary
#8EB628 #2847B6 #9728B6
monochromatic
#405212 #67841D #8EB628 #ADD645 #C3E177

Accessibility & contrast

On white

2.37
#8EB628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#8EB628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB628
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB628#FFFFFF#000000##000000
##8EB6281.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#BBA836
Tritanopia (blue-blind)
#95AD9C
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8eb628;
/* rgb */ color: rgb(142, 182, 40);
/* oklch */ color: oklch(72.2% 0.167 124.7);
Tailwind
colors: {
  custom: {
    50: '#b3cc6e',
    500: '#8eb628',
    950: '#000000',
  },
}
SCSS
$custom: #8eb628;
$custom-light: #b3cc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb628",
  "rgb": {
    "r": 142,
    "g": 182,
    "b": 40
  },
  "hsl": {
    "h": 76.901,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.72177,
    "c": 0.16713,
    "h": 124.7
  },
  "luminance": 0.3936
}

Semantic roles & 50–950 ramp

primary
#8EB628
secondary
#8A71C9
accent
#41E770
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8EB628

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

Preview Lab → · Contrast checker → · Palette generator →

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