#21AF4B#21AF4B

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

Color values

HEX#21AF4B
RGBrgb(33, 175, 75)
HSLhsl(138, 68%, 41%)
HSVhsv(138, 81%, 69%)
CMYKcmyk(81.1%, 0%, 57.1%, 31.4%)
CIE-LABlab(62.92, -57.21, 40.64)
CIE-LCHlch(62.92, 70.18, 144.61°)
OKLaboklab(66.13% -0.1537 0.0968)
OKLCHoklch(66.13% 0.182 147.8)
XYZxyz(17.2258, 31.4892, 11.8254)
Luminance0.3149 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AF4B #AF2185
analogous
#3EAF21 #21AF4B #21AF92
triadic
#21AF4B #4B21AF #AF4B21
tetradic
#21AF4B #213EAF #AF2185 #AF9221
square
#21AF4B #213EAF #AF2185 #AF9221
split-complementary
#21AF4B #9221AF #AF213E
monochromatic
#0E481F #177C35 #21AF4B #34D965 #68E38C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21AF4B#FFFFFF#000000##000000
##21AF4B1.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)
#B19F41
Deuteranopia (green-blind)
#A19453
Tritanopia (blue-blind)
#00AB99
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #21af4b;
/* rgb */ color: rgb(33, 175, 75);
/* oklch */ color: oklch(66.1% 0.182 147.8);
Tailwind
colors: {
  custom: {
    50: '#76c880',
    500: '#21af4b',
    950: '#000000',
  },
}
SCSS
$custom: #21af4b;
$custom-light: #76c880;
$custom-dark: #000000;
JSON
{
  "hex": "#21af4b",
  "rgb": {
    "r": 33,
    "g": 175,
    "b": 75
  },
  "hsl": {
    "h": 137.746,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66131,
    "c": 0.18162,
    "h": 147.8
  },
  "luminance": 0.31491
}

Semantic roles & 50–950 ramp

primary
#21AF4B
secondary
#C864AA
accent
#3DB8EB
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A130A
muted
#7C827C

Preview Lab

Preview with #21AF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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