#8FB42F#8FB42F

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

Color values

HEX#8FB42F
RGBrgb(143, 180, 47)
HSLhsl(77, 59%, 45%)
HSVhsv(77, 74%, 71%)
CMYKcmyk(20.6%, 0%, 73.9%, 29.4%)
CIE-LABlab(68.52, -30.99, 59.68)
CIE-LCHlch(68.52, 67.25, 117.44°)
OKLaboklab(71.81% -0.0901 0.1327)
OKLCHoklch(71.81% 0.16 124.2)
XYZxyz(28.1623, 38.6871, 8.6725)
Luminance0.3869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB42F #542FB4
analogous
#B4972F #8FB42F #4CB42F
triadic
#8FB42F #2F8FB4 #B42F8F
tetradic
#8FB42F #2FB497 #542FB4 #B42F4C
square
#8FB42F #2FB497 #542FB4 #B42F4C
split-complementary
#8FB42F #2F4CB4 #972FB4
monochromatic
#425316 #688322 #8FB42F #ADD14F #C4DE80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FB42F#FFFFFF#000000##000000
##8FB42F1.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)
#BEA814
Deuteranopia (green-blind)
#B9A73B
Tritanopia (blue-blind)
#96AB9B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8fb42f;
/* rgb */ color: rgb(143, 180, 47);
/* oklch */ color: oklch(71.8% 0.160 124.2);
Tailwind
colors: {
  custom: {
    50: '#b3ca71',
    500: '#8fb42f',
    950: '#000000',
  },
}
SCSS
$custom: #8fb42f;
$custom-light: #b3ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb42f",
  "rgb": {
    "r": 143,
    "g": 180,
    "b": 47
  },
  "hsl": {
    "h": 76.692,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71812,
    "c": 0.16043,
    "h": 124.2
  },
  "luminance": 0.38687
}

Semantic roles & 50–950 ramp

primary
#8FB42F
secondary
#8E78C7
accent
#46E271
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8FB42F

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

Preview Lab → · Contrast checker → · Palette generator →

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