#8EB428#8EB428

#8EB428 is a light, vivid yellow-green. Relative luminance 0.385; OKLCH L 71.7% C 0.165 H 124.2°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#8EB428
RGBrgb(142, 180, 40)
HSLhsl(76, 64%, 43%)
HSVhsv(76, 78%, 71%)
CMYKcmyk(21.1%, 0%, 77.8%, 29.4%)
CIE-LABlab(68.42, -31.75, 61.86)
CIE-LCHlch(68.42, 69.53, 117.17°)
OKLaboklab(71.7% -0.0927 0.1362)
OKLCHoklch(71.7% 0.165 124.2)
XYZxyz(27.8599, 38.5462, 7.9795)
Luminance0.3855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB428 #4E28B4
analogous
#B49428 #8EB428 #48B428
triadic
#8EB428 #288EB4 #B4288E
tetradic
#8EB428 #28B494 #4E28B4 #B42848
square
#8EB428 #28B494 #4E28B4 #B42848
split-complementary
#8EB428 #2848B4 #9428B4
monochromatic
#3F5012 #66821D #8EB428 #AED544 #C4E176

Accessibility & contrast

On white

2.41
#8EB428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#8EB428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB428
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB428#FFFFFF#000000##000000
##8EB4281.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#95AB9A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8eb428;
/* rgb */ color: rgb(142, 180, 40);
/* oklch */ color: oklch(71.7% 0.165 124.2);
Tailwind
colors: {
  custom: {
    50: '#b3ca6e',
    500: '#8eb428',
    950: '#000000',
  },
}
SCSS
$custom: #8eb428;
$custom-light: #b3ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb428",
  "rgb": {
    "r": 142,
    "g": 180,
    "b": 40
  },
  "hsl": {
    "h": 76.286,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.717,
    "c": 0.16474,
    "h": 124.2
  },
  "luminance": 0.38547
}

Semantic roles & 50–950 ramp

primary
#8EB428
secondary
#8870C8
accent
#41E76E
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8EB428

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

Preview Lab → · Contrast checker → · Palette generator →

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