#8FB421#8FB421

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

Color values

HEX#8FB421
RGBrgb(143, 180, 33)
HSLhsl(75, 69%, 42%)
HSVhsv(75, 82%, 71%)
CMYKcmyk(20.6%, 0%, 81.7%, 29.4%)
CIE-LABlab(68.45, -31.64, 63.93)
CIE-LCHlch(68.45, 71.33, 116.33°)
OKLaboklab(71.73% -0.0929 0.1394)
OKLCHoklch(71.73% 0.168 123.7)
XYZxyz(27.9238, 38.5917, 7.4164)
Luminance0.3859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB421 #4621B4
analogous
#B49021 #8FB421 #46B421
triadic
#8FB421 #218FB4 #B4218F
tetradic
#8FB421 #21B490 #4621B4 #B42146
square
#8FB421 #21B490 #4621B4 #B42146
split-complementary
#8FB421 #2146B4 #9021B4
monochromatic
#3D4D0E #668018 #8FB421 #B2DA38 #C6E46B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FB421#FFFFFF#000000##000000
##8FB4211.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)
#BAA731
Tritanopia (blue-blind)
#96AB9A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8fb421;
/* rgb */ color: rgb(143, 180, 33);
/* oklch */ color: oklch(71.7% 0.168 123.7);
Tailwind
colors: {
  custom: {
    50: '#b4ca6b',
    500: '#8fb421',
    950: '#000000',
  },
}
SCSS
$custom: #8fb421;
$custom-light: #b4ca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb421",
  "rgb": {
    "r": 143,
    "g": 180,
    "b": 33
  },
  "hsl": {
    "h": 75.102,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71733,
    "c": 0.16754,
    "h": 123.7
  },
  "luminance": 0.38592
}

Semantic roles & 50–950 ramp

primary
#8FB421
secondary
#8067CA
accent
#3CEC68
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #8FB421

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

Preview Lab → · Contrast checker → · Palette generator →

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