#8EB41B#8EB41B

#8EB41B 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.69:1 contrast (WCAG AA passes).

Color values

HEX#8EB41B
RGBrgb(142, 180, 27)
HSLhsl(75, 74%, 41%)
HSVhsv(75, 85%, 71%)
CMYKcmyk(21.1%, 0%, 85%, 29.4%)
CIE-LABlab(68.37, -32.25, 65.32)
CIE-LCHlch(68.37, 72.85, 116.28°)
OKLaboklab(71.64% -0.0949 0.1415)
OKLCHoklch(71.64% 0.17 123.9)
XYZxyz(27.6748, 38.4722, 7.0046)
Luminance0.3847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB41B #411BB4
analogous
#B48D1B #8EB41B #41B41B
triadic
#8EB41B #1B8EB4 #B41B8E
tetradic
#8EB41B #1BB48D #411BB4 #B41B41
square
#8EB41B #1BB48D #411BB4 #B41B41
split-complementary
#8EB41B #1B41B4 #8D1BB4
monochromatic
#3A4A0B #647F13 #8EB41B #B3DF2D #C6E762

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EB41B#FFFFFF#000000##000000
##8EB41B1.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)
#BAA62E
Tritanopia (blue-blind)
#95AB99
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8eb41b;
/* rgb */ color: rgb(142, 180, 27);
/* oklch */ color: oklch(71.6% 0.170 123.9);
Tailwind
colors: {
  custom: {
    50: '#b3ca69',
    500: '#8eb41b',
    950: '#000000',
  },
}
SCSS
$custom: #8eb41b;
$custom-light: #b3ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb41b",
  "rgb": {
    "r": 142,
    "g": 180,
    "b": 27
  },
  "hsl": {
    "h": 74.902,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.71639,
    "c": 0.17036,
    "h": 123.9
  },
  "luminance": 0.38472
}

Semantic roles & 50–950 ramp

primary
#8EB41B
secondary
#7A5FCC
accent
#37F165
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #8EB41B

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

Preview Lab → · Contrast checker → · Palette generator →

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