#21AF4D#21AF4D

#21AF4D is a light, vivid green. Relative luminance 0.315; OKLCH L 66.2% C 0.180 H 148.2°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#21AF4D
RGBrgb(33, 175, 77)
HSLhsl(139, 68%, 41%)
HSVhsv(139, 81%, 69%)
CMYKcmyk(81.1%, 0%, 56%, 31.4%)
CIE-LABlab(62.94, -56.93, 39.71)
CIE-LCHlch(62.94, 69.41, 145.10°)
OKLaboklab(66.16% -0.1529 0.0949)
OKLCHoklch(66.16% 0.18 148.2)
XYZxyz(17.2953, 31.5170, 12.1916)
Luminance0.3152 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AF4D #AF2183
analogous
#3CAF21 #21AF4D #21AF94
triadic
#21AF4D #4D21AF #AF4D21
tetradic
#21AF4D #213CAF #AF2183 #AF9421
square
#21AF4D #213CAF #AF2183 #AF9421
split-complementary
#21AF4D #9421AF #AF213C
monochromatic
#0E4820 #177C36 #21AF4D #34D967 #68E38E

Accessibility & contrast

On white

2.88
#21AF4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#21AF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21AF4D
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AF4D#FFFFFF#000000##000000
##21AF4D1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F44
Deuteranopia (green-blind)
#A19455
Tritanopia (blue-blind)
#00AB99
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #21af4d;
/* rgb */ color: rgb(33, 175, 77);
/* oklch */ color: oklch(66.2% 0.180 148.2);
Tailwind
colors: {
  custom: {
    50: '#76c881',
    500: '#21af4d',
    950: '#000000',
  },
}
SCSS
$custom: #21af4d;
$custom-light: #76c881;
$custom-dark: #000000;
JSON
{
  "hex": "#21af4d",
  "rgb": {
    "r": 33,
    "g": 175,
    "b": 77
  },
  "hsl": {
    "h": 138.592,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66158,
    "c": 0.17993,
    "h": 148.2
  },
  "luminance": 0.31519
}

Semantic roles & 50–950 ramp

primary
#21AF4D
secondary
#C864A9
accent
#3DB5EB
background
#F7FCF8
surface
#EEF8EF
border
#C9D1CA
text
#0A130A
muted
#7C827C

Preview Lab

Preview with #21AF4D

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

Preview Lab → · Contrast checker → · Palette generator →

#21AF4D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva