#8FB41C#8FB41C

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

Color values

HEX#8FB41C
RGBrgb(143, 180, 28)
HSLhsl(75, 73%, 41%)
HSVhsv(75, 84%, 71%)
CMYKcmyk(20.6%, 0%, 84.4%, 29.4%)
CIE-LABlab(68.44, -31.81, 65.17)
CIE-LCHlch(68.44, 72.52, 116.02°)
OKLaboklab(71.71% -0.0937 0.1413)
OKLCHoklch(71.71% 0.17 123.6)
XYZxyz(27.8589, 38.5658, 7.0746)
Luminance0.3857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB41C #411CB4
analogous
#B48D1C #8FB41C #43B41C
triadic
#8FB41C #1C8FB4 #B41C8F
tetradic
#8FB41C #1CB48D #411CB4 #B41C43
square
#8FB41C #1CB48D #411CB4 #B41C43
split-complementary
#8FB41C #1C43B4 #8D1CB4
monochromatic
#3B4A0C #657F14 #8FB41C #B4DF2F #C7E764

Accessibility & contrast

On white

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

On black

8.71
#8FB41C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB41C
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB41C#FFFFFF#000000##000000
##8FB41C1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8fb41c;
/* rgb */ color: rgb(143, 180, 28);
/* oklch */ color: oklch(71.7% 0.170 123.6);
Tailwind
colors: {
  custom: {
    50: '#b4ca69',
    500: '#8fb41c',
    950: '#000000',
  },
}
SCSS
$custom: #8fb41c;
$custom-light: #b4ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb41c",
  "rgb": {
    "r": 143,
    "g": 180,
    "b": 28
  },
  "hsl": {
    "h": 74.605,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.71712,
    "c": 0.16953,
    "h": 123.6
  },
  "luminance": 0.38566
}

Semantic roles & 50–950 ramp

primary
#8FB41C
secondary
#7A60CC
accent
#38F065
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #8FB41C

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

Preview Lab → · Contrast checker → · Palette generator →

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