#8EB41C#8EB41C

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

Color values

HEX#8EB41C
RGBrgb(142, 180, 28)
HSLhsl(75, 73%, 41%)
HSVhsv(75, 84%, 71%)
CMYKcmyk(21.1%, 0%, 84.4%, 29.4%)
CIE-LABlab(68.37, -32.22, 65.09)
CIE-LCHlch(68.37, 72.63, 116.33°)
OKLaboklab(71.64% -0.0948 0.1411)
OKLCHoklch(71.64% 0.17 123.9)
XYZxyz(27.6866, 38.4769, 7.0665)
Luminance0.3848 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB41C #421CB4
analogous
#B48E1C #8EB41C #42B41C
triadic
#8EB41C #1C8EB4 #B41C8E
tetradic
#8EB41C #1CB48E #421CB4 #B41C42
square
#8EB41C #1CB48E #421CB4 #B41C42
split-complementary
#8EB41C #1C42B4 #8E1CB4
monochromatic
#3A4A0C #647F14 #8EB41C #B3DF2F #C6E764

Accessibility & contrast

On white

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

On black

8.70
#8EB41C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB41C
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB41C#FFFFFF#000000##000000
##8EB41C1.002.428.708.70
#FFFFFF2.421.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8eb41c;
/* rgb */ color: rgb(142, 180, 28);
/* oklch */ color: oklch(71.6% 0.170 123.9);
Tailwind
colors: {
  custom: {
    50: '#b3ca69',
    500: '#8eb41c',
    950: '#000000',
  },
}
SCSS
$custom: #8eb41c;
$custom-light: #b3ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb41c",
  "rgb": {
    "r": 142,
    "g": 180,
    "b": 28
  },
  "hsl": {
    "h": 75,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.71643,
    "c": 0.16999,
    "h": 123.9
  },
  "luminance": 0.38477
}

Semantic roles & 50–950 ramp

primary
#8EB41C
secondary
#7B60CC
accent
#38F066
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #8EB41C

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

Preview Lab → · Contrast checker → · Palette generator →

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