#8FB21E#8FB21E

#8FB21E is a light, vivid yellow-green. Relative luminance 0.378; OKLCH L 71.2% C 0.166 H 123.1°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#8FB21E
RGBrgb(143, 178, 30)
HSLhsl(74, 71%, 41%)
HSVhsv(74, 83%, 70%)
CMYKcmyk(19.7%, 0%, 83.1%, 30.2%)
CIE-LABlab(67.85, -30.81, 64.18)
CIE-LCHlch(67.85, 71.19, 115.64°)
OKLaboklab(71.24% -0.0909 0.1395)
OKLCHoklch(71.24% 0.166 123.1)
XYZxyz(27.4828, 37.7740, 7.0713)
Luminance0.3777 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB21E #411EB2
analogous
#B28B1E #8FB21E #45B21E
triadic
#8FB21E #1E8FB2 #B21E8F
tetradic
#8FB21E #1EB28B #411EB2 #B21E45
square
#8FB21E #1EB28B #411EB2 #B21E45
split-complementary
#8FB21E #1E45B2 #8B1EB2
monochromatic
#3B490C #657E15 #8FB21E #B4DC31 #C7E565

Accessibility & contrast

On white

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

On black

8.55
#8FB21E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB21E
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB21E#FFFFFF#000000##000000
##8FB21E1.002.458.558.55
#FFFFFF2.451.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8fb21e;
/* rgb */ color: rgb(143, 178, 30);
/* oklch */ color: oklch(71.2% 0.166 123.1);
Tailwind
colors: {
  custom: {
    50: '#b4c96a',
    500: '#8fb21e',
    950: '#000000',
  },
}
SCSS
$custom: #8fb21e;
$custom-light: #b4c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb21e",
  "rgb": {
    "r": 143,
    "g": 178,
    "b": 30
  },
  "hsl": {
    "h": 74.189,
    "s": 71.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.71243,
    "c": 0.16645,
    "h": 123.1
  },
  "luminance": 0.37774
}

Semantic roles & 50–950 ramp

primary
#8FB21E
secondary
#7A62CA
accent
#3AEE64
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #8FB21E

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

Preview Lab → · Contrast checker → · Palette generator →

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