#8FB41B#8FB41B

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

Color values

HEX#8FB41B
RGBrgb(143, 180, 27)
HSLhsl(75, 74%, 41%)
HSVhsv(75, 85%, 71%)
CMYKcmyk(20.6%, 0%, 85%, 29.4%)
CIE-LABlab(68.43, -31.85, 65.40)
CIE-LCHlch(68.43, 72.74, 115.96°)
OKLaboklab(71.71% -0.0939 0.1416)
OKLCHoklch(71.71% 0.17 123.5)
XYZxyz(27.8472, 38.5611, 7.0127)
Luminance0.3856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB41B #401BB4
analogous
#B48C1B #8FB41B #42B41B
triadic
#8FB41B #1B8FB4 #B41B8F
tetradic
#8FB41B #1BB48C #401BB4 #B41B42
square
#8FB41B #1BB48C #401BB4 #B41B42
split-complementary
#8FB41B #1B42B4 #8C1BB4
monochromatic
#3A4A0B #657F13 #8FB41B #B4DF2D #C7E762

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FB41B#FFFFFF#000000##000000
##8FB41B1.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: #8fb41b;
/* rgb */ color: rgb(143, 180, 27);
/* oklch */ color: oklch(71.7% 0.170 123.5);
Tailwind
colors: {
  custom: {
    50: '#b4ca69',
    500: '#8fb41b',
    950: '#000000',
  },
}
SCSS
$custom: #8fb41b;
$custom-light: #b4ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb41b",
  "rgb": {
    "r": 143,
    "g": 180,
    "b": 27
  },
  "hsl": {
    "h": 74.51,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.71708,
    "c": 0.16989,
    "h": 123.5
  },
  "luminance": 0.38561
}

Semantic roles & 50–950 ramp

primary
#8FB41B
secondary
#795FCC
accent
#37F164
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #8FB41B

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

Preview Lab → · Contrast checker → · Palette generator →

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