#8FAE21#8FAE21

#8FAE21 is a light, vivid yellow-green. Relative luminance 0.362; OKLCH L 70.3% C 0.161 H 122.0°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#8FAE21
RGBrgb(143, 174, 33)
HSLhsl(73, 68%, 41%)
HSVhsv(73, 81%, 68%)
CMYKcmyk(17.8%, 0%, 81%, 31.8%)
CIE-LABlab(66.69, -28.80, 62.37)
CIE-LCHlch(66.69, 68.69, 114.79°)
OKLaboklab(70.3% -0.0852 0.1361)
OKLCHoklch(70.3% 0.161 122)
XYZxyz(26.7387, 36.2215, 7.0213)
Luminance0.3622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAE21 #4021AE
analogous
#AE8621 #8FAE21 #49AE21
triadic
#8FAE21 #218FAE #AE218F
tetradic
#8FAE21 #21AE86 #4021AE #AE2149
square
#8FAE21 #21AE86 #4021AE #AE2149
split-complementary
#8FAE21 #2149AE #8621AE
monochromatic
#3A470D #657B17 #8FAE21 #B4D834 #C7E267

Accessibility & contrast

On white

2.55
#8FAE21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#8FAE21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FAE21
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FAE21#FFFFFF#000000##000000
##8FAE211.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B5A230
Tritanopia (blue-blind)
#97A595
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8fae21;
/* rgb */ color: rgb(143, 174, 33);
/* oklch */ color: oklch(70.3% 0.161 122.0);
Tailwind
colors: {
  custom: {
    50: '#b4c66a',
    500: '#8fae21',
    950: '#000000',
  },
}
SCSS
$custom: #8fae21;
$custom-light: #b4c66a;
$custom-dark: #000000;
JSON
{
  "hex": "#8fae21",
  "rgb": {
    "r": 143,
    "g": 174,
    "b": 33
  },
  "hsl": {
    "h": 73.191,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70305,
    "c": 0.16054,
    "h": 122
  },
  "luminance": 0.36222
}

Semantic roles & 50–950 ramp

primary
#8FAE21
secondary
#7963C8
accent
#3DEB63
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8FAE21

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

Preview Lab → · Contrast checker → · Palette generator →

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