#8EB418#8EB418

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

Color values

HEX#8EB418
RGBrgb(142, 180, 24)
HSLhsl(75, 76%, 40%)
HSVhsv(75, 87%, 71%)
CMYKcmyk(21.1%, 0%, 86.7%, 29.4%)
CIE-LABlab(68.36, -32.34, 65.97)
CIE-LCHlch(68.36, 73.47, 116.12°)
OKLaboklab(71.63% -0.0953 0.1424)
OKLCHoklch(71.63% 0.171 123.8)
XYZxyz(27.6418, 38.4590, 6.8310)
Luminance0.3846 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB418 #3E18B4
analogous
#B48C18 #8EB418 #40B418
triadic
#8EB418 #188EB4 #B4188E
tetradic
#8EB418 #18B48C #3E18B4 #B41840
square
#8EB418 #18B48C #3E18B4 #B41840
split-complementary
#8EB418 #1840B4 #8C18B4
monochromatic
#39480A #637E11 #8EB418 #B5E227 #C7E95D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EB418#FFFFFF#000000##000000
##8EB4181.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: #8eb418;
/* rgb */ color: rgb(142, 180, 24);
/* oklch */ color: oklch(71.6% 0.171 123.8);
Tailwind
colors: {
  custom: {
    50: '#b3ca68',
    500: '#8eb418',
    950: '#000000',
  },
}
SCSS
$custom: #8eb418;
$custom-light: #b3ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb418",
  "rgb": {
    "r": 142,
    "g": 180,
    "b": 24
  },
  "hsl": {
    "h": 74.615,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.71628,
    "c": 0.17138,
    "h": 123.8
  },
  "luminance": 0.38459
}

Semantic roles & 50–950 ramp

primary
#8EB418
secondary
#765BCD
accent
#35F363
background
#FBFCF6
surface
#F6F8EB
border
#D0D1C6
text
#121307
muted
#81827A

Preview Lab

Preview with #8EB418

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

Preview Lab → · Contrast checker → · Palette generator →

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