#8FB420#8FB420

#8FB420 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#8FB420
RGBrgb(143, 180, 32)
HSLhsl(75, 70%, 42%)
HSVhsv(75, 82%, 71%)
CMYKcmyk(20.6%, 0%, 82.2%, 29.4%)
CIE-LABlab(68.45, -31.67, 64.19)
CIE-LCHlch(68.45, 71.58, 116.26°)
OKLaboklab(71.73% -0.0931 0.1398)
OKLCHoklch(71.73% 0.168 123.7)
XYZxyz(27.9100, 38.5862, 7.3437)
Luminance0.3859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB420 #4520B4
analogous
#B48F20 #8FB420 #45B420
triadic
#8FB420 #208FB4 #B4208F
tetradic
#8FB420 #20B48F #4520B4 #B42045
square
#8FB420 #20B48F #4520B4 #B42045
split-complementary
#8FB420 #2045B4 #8F20B4
monochromatic
#3C4C0E #668017 #8FB420 #B2DB36 #C6E46A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FB420#FFFFFF#000000##000000
##8FB4201.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)
#97AB9A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8fb420;
/* rgb */ color: rgb(143, 180, 32);
/* oklch */ color: oklch(71.7% 0.168 123.7);
Tailwind
colors: {
  custom: {
    50: '#b4ca6b',
    500: '#8fb420',
    950: '#000000',
  },
}
SCSS
$custom: #8fb420;
$custom-light: #b4ca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb420",
  "rgb": {
    "r": 143,
    "g": 180,
    "b": 32
  },
  "hsl": {
    "h": 75,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71729,
    "c": 0.16796,
    "h": 123.7
  },
  "luminance": 0.38586
}

Semantic roles & 50–950 ramp

primary
#8FB420
secondary
#7F66CA
accent
#3BED68
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #8FB420

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

Preview Lab → · Contrast checker → · Palette generator →

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