#8FB41F#8FB41F

#8FB41F is a light, vivid yellow-green. Relative luminance 0.386; OKLCH L 71.7% C 0.168 H 123.6°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#8FB41F
RGBrgb(143, 180, 31)
HSLhsl(75, 71%, 41%)
HSVhsv(75, 83%, 71%)
CMYKcmyk(20.6%, 0%, 82.8%, 29.4%)
CIE-LABlab(68.45, -31.71, 64.45)
CIE-LCHlch(68.45, 71.83, 116.20°)
OKLaboklab(71.72% -0.0933 0.1402)
OKLCHoklch(71.72% 0.168 123.6)
XYZxyz(27.8966, 38.5809, 7.2732)
Luminance0.3858 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB41F #441FB4
analogous
#B48F1F #8FB41F #45B41F
triadic
#8FB41F #1F8FB4 #B41F8F
tetradic
#8FB41F #1FB48F #441FB4 #B41F45
square
#8FB41F #1FB48F #441FB4 #B41F45
split-complementary
#8FB41F #1F45B4 #8F1FB4
monochromatic
#3C4C0D #668016 #8FB41F #B2DC34 #C6E568

Accessibility & contrast

On white

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

On black

8.72
#8FB41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB41F
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB41F#FFFFFF#000000##000000
##8FB41F1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8fb41f;
/* rgb */ color: rgb(143, 180, 31);
/* oklch */ color: oklch(71.7% 0.168 123.6);
Tailwind
colors: {
  custom: {
    50: '#b4ca6a',
    500: '#8fb41f',
    950: '#000000',
  },
}
SCSS
$custom: #8fb41f;
$custom-light: #b4ca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb41f",
  "rgb": {
    "r": 143,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 74.899,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71724,
    "c": 0.16838,
    "h": 123.6
  },
  "luminance": 0.38581
}

Semantic roles & 50–950 ramp

primary
#8FB41F
secondary
#7E64CB
accent
#3AED67
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #8FB41F

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

Preview Lab → · Contrast checker → · Palette generator →

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