#8EB41F#8EB41F

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

Color values

HEX#8EB41F
RGBrgb(142, 180, 31)
HSLhsl(75, 71%, 41%)
HSVhsv(75, 83%, 71%)
CMYKcmyk(21.1%, 0%, 82.8%, 29.4%)
CIE-LABlab(68.38, -32.12, 64.37)
CIE-LCHlch(68.38, 71.93, 116.52°)
OKLaboklab(71.66% -0.0943 0.1401)
OKLCHoklch(71.66% 0.169 124)
XYZxyz(27.7243, 38.4920, 7.2651)
Luminance0.3849 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB41F #451FB4
analogous
#B4901F #8EB41F #44B41F
triadic
#8EB41F #1F8EB4 #B41F8E
tetradic
#8EB41F #1FB490 #451FB4 #B41F44
square
#8EB41F #1FB490 #451FB4 #B41F44
split-complementary
#8EB41F #1F44B4 #901FB4
monochromatic
#3C4C0D #658016 #8EB41F #B1DC34 #C5E568

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EB41F#FFFFFF#000000##000000
##8EB41F1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8eb41f;
/* rgb */ color: rgb(142, 180, 31);
/* oklch */ color: oklch(71.7% 0.169 124.0);
Tailwind
colors: {
  custom: {
    50: '#b3ca6a',
    500: '#8eb41f',
    950: '#000000',
  },
}
SCSS
$custom: #8eb41f;
$custom-light: #b3ca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb41f",
  "rgb": {
    "r": 142,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 75.302,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71655,
    "c": 0.16884,
    "h": 124
  },
  "luminance": 0.38492
}

Semantic roles & 50–950 ramp

primary
#8EB41F
secondary
#7E64CB
accent
#3AED68
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8EB41F

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

Preview Lab → · Contrast checker → · Palette generator →

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