#8FB42E#8FB42E

#8FB42E is a light, vivid yellow-green. Relative luminance 0.387; OKLCH L 71.8% C 0.161 H 124.1°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#8FB42E
RGBrgb(143, 180, 46)
HSLhsl(77, 59%, 44%)
HSVhsv(77, 74%, 71%)
CMYKcmyk(20.6%, 0%, 74.4%, 29.4%)
CIE-LABlab(68.52, -31.05, 60.02)
CIE-LCHlch(68.52, 67.57, 117.35°)
OKLaboklab(71.8% -0.0904 0.1333)
OKLCHoklch(71.8% 0.161 124.1)
XYZxyz(28.1424, 38.6792, 8.5674)
Luminance0.3868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB42E #532EB4
analogous
#B4962E #8FB42E #4CB42E
triadic
#8FB42E #2E8FB4 #B42E8F
tetradic
#8FB42E #2EB496 #532EB4 #B42E4C
square
#8FB42E #2EB496 #532EB4 #B42E4C
split-complementary
#8FB42E #2E4CB4 #962EB4
monochromatic
#425315 #688322 #8FB42E #ADD24E #C4DE7E

Accessibility & contrast

On white

2.40
#8FB42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#8FB42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB42E
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB42E#FFFFFF#000000##000000
##8FB42E1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA811
Deuteranopia (green-blind)
#B9A73A
Tritanopia (blue-blind)
#96AB9A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8fb42e;
/* rgb */ color: rgb(143, 180, 46);
/* oklch */ color: oklch(71.8% 0.161 124.1);
Tailwind
colors: {
  custom: {
    50: '#b3ca71',
    500: '#8fb42e',
    950: '#000000',
  },
}
SCSS
$custom: #8fb42e;
$custom-light: #b3ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb42e",
  "rgb": {
    "r": 143,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 76.567,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71805,
    "c": 0.16101,
    "h": 124.1
  },
  "luminance": 0.38679
}

Semantic roles & 50–950 ramp

primary
#8FB42E
secondary
#8D77C7
accent
#45E271
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8FB42E

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

Preview Lab → · Contrast checker → · Palette generator →

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