#21AF28#21AF28

#21AF28 is a light, highly saturated green. Relative luminance 0.311; OKLCH L 65.8% C 0.206 H 143.3°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#21AF28
RGBrgb(33, 175, 40)
HSLhsl(123, 68%, 41%)
HSVhsv(123, 81%, 69%)
CMYKcmyk(81.1%, 0%, 77.1%, 31.4%)
CIE-LABlab(62.62, -60.87, 54.84)
CIE-LCHlch(62.62, 81.93, 137.98°)
OKLaboklab(65.79% -0.1649 0.1231)
OKLCHoklch(65.79% 0.206 143.3)
XYZxyz(16.3391, 31.1345, 7.1555)
Luminance0.3114 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AF28 #AF21A8
analogous
#61AF21 #21AF28 #21AF6F
triadic
#21AF28 #2821AF #AF2821
tetradic
#21AF28 #2161AF #AF21A8 #AF6F21
square
#21AF28 #2161AF #AF21A8 #AF6F21
split-complementary
#21AF28 #6F21AF #AF2161
monochromatic
#0E4810 #177C1C #21AF28 #34D93D #68E36E

Accessibility & contrast

On white

2.91
#21AF28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#21AF28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21AF28
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AF28#FFFFFF#000000##000000
##21AF281.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E05
Deuteranopia (green-blind)
#A49337
Tritanopia (blue-blind)
#00AA96
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #21af28;
/* rgb */ color: rgb(33, 175, 40);
/* oklch */ color: oklch(65.8% 0.206 143.3);
Tailwind
colors: {
  custom: {
    50: '#78c86c',
    500: '#21af28',
    950: '#000000',
  },
}
SCSS
$custom: #21af28;
$custom-light: #78c86c;
$custom-dark: #000000;
JSON
{
  "hex": "#21af28",
  "rgb": {
    "r": 33,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 122.958,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.65788,
    "c": 0.20582,
    "h": 143.3
  },
  "luminance": 0.31136
}

Semantic roles & 50–950 ramp

primary
#21AF28
secondary
#C864C3
accent
#3DE3EB
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #21AF28

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

Preview Lab → · Contrast checker → · Palette generator →

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