#8FB221#8FB221

#8FB221 is a light, vivid yellow-green. Relative luminance 0.378; OKLCH L 71.3% C 0.165 H 123.2°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#8FB221
RGBrgb(143, 178, 33)
HSLhsl(74, 69%, 41%)
HSVhsv(74, 81%, 70%)
CMYKcmyk(19.7%, 0%, 81.5%, 30.2%)
CIE-LABlab(67.87, -30.70, 63.41)
CIE-LCHlch(67.87, 70.45, 115.83°)
OKLaboklab(71.26% -0.0904 0.1383)
OKLCHoklch(71.26% 0.165 123.2)
XYZxyz(27.5230, 37.7901, 7.2828)
Luminance0.3779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB221 #4421B2
analogous
#B28D21 #8FB221 #47B221
triadic
#8FB221 #218FB2 #B2218F
tetradic
#8FB221 #21B28D #4421B2 #B22147
square
#8FB221 #21B28D #4421B2 #B22147
split-complementary
#8FB221 #2147B2 #8D21B2
monochromatic
#3C4B0E #667E17 #8FB221 #B2DA36 #C6E36A

Accessibility & contrast

On white

2.45
#8FB221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#8FB221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB221
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB221#FFFFFF#000000##000000
##8FB2211.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#B8A531
Tritanopia (blue-blind)
#97A998
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8fb221;
/* rgb */ color: rgb(143, 178, 33);
/* oklch */ color: oklch(71.3% 0.165 123.2);
Tailwind
colors: {
  custom: {
    50: '#b4c96b',
    500: '#8fb221',
    950: '#000000',
  },
}
SCSS
$custom: #8fb221;
$custom-light: #b4c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb221",
  "rgb": {
    "r": 143,
    "g": 178,
    "b": 33
  },
  "hsl": {
    "h": 74.483,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71257,
    "c": 0.16521,
    "h": 123.2
  },
  "luminance": 0.3779
}

Semantic roles & 50–950 ramp

primary
#8FB221
secondary
#7E66C9
accent
#3CEC67
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #8FB221

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

Preview Lab → · Contrast checker → · Palette generator →

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