#8EB417#8EB417

#8EB417 is a light, vivid yellow-green. Relative luminance 0.385; OKLCH L 71.6% C 0.172 H 123.8°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#8EB417
RGBrgb(142, 180, 23)
HSLhsl(75, 77%, 40%)
HSVhsv(75, 87%, 71%)
CMYKcmyk(21.1%, 0%, 87.2%, 29.4%)
CIE-LABlab(68.35, -32.37, 66.18)
CIE-LCHlch(68.35, 73.67, 116.07°)
OKLaboklab(71.62% -0.0954 0.1427)
OKLCHoklch(71.62% 0.172 123.8)
XYZxyz(27.6316, 38.4549, 6.7773)
Luminance0.3846 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB417 #3D17B4
analogous
#B48B17 #8EB417 #40B417
triadic
#8EB417 #178EB4 #B4178E
tetradic
#8EB417 #17B48B #3D17B4 #B41740
square
#8EB417 #17B48B #3D17B4 #B41740
split-complementary
#8EB417 #1740B4 #8B17B4
monochromatic
#384709 #637E10 #8EB417 #B5E325 #C8EA5B

Accessibility & contrast

On white

2.42
#8EB417 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#8EB417 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB417
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB417#FFFFFF#000000##000000
##8EB4171.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BAA62C
Tritanopia (blue-blind)
#96AB99
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8eb417;
/* rgb */ color: rgb(142, 180, 23);
/* oklch */ color: oklch(71.6% 0.172 123.8);
Tailwind
colors: {
  custom: {
    50: '#b3ca68',
    500: '#8eb417',
    950: '#000000',
  },
}
SCSS
$custom: #8eb417;
$custom-light: #b3ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb417",
  "rgb": {
    "r": 142,
    "g": 180,
    "b": 23
  },
  "hsl": {
    "h": 74.522,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.71624,
    "c": 0.1717,
    "h": 123.8
  },
  "luminance": 0.38455
}

Semantic roles & 50–950 ramp

primary
#8EB417
secondary
#7559CE
accent
#34F462
background
#FBFCF6
surface
#F6F8EB
border
#D0D1C6
text
#121307
muted
#81827A

Preview Lab

Preview with #8EB417

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

Preview Lab → · Contrast checker → · Palette generator →

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