#21AF29#21AF29

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

Color values

HEX#21AF29
RGBrgb(33, 175, 41)
HSLhsl(123, 68%, 41%)
HSVhsv(123, 81%, 69%)
CMYKcmyk(81.1%, 0%, 76.6%, 31.4%)
CIE-LABlab(62.63, -60.80, 54.51)
CIE-LCHlch(62.63, 81.66, 138.12°)
OKLaboklab(65.8% -0.1647 0.1226)
OKLCHoklch(65.8% 0.205 143.3)
XYZxyz(16.3563, 31.1414, 7.2462)
Luminance0.3114 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AF29 #AF21A7
analogous
#60AF21 #21AF29 #21AF70
triadic
#21AF29 #2921AF #AF2921
tetradic
#21AF29 #2160AF #AF21A7 #AF7021
square
#21AF29 #2160AF #AF21A7 #AF7021
split-complementary
#21AF29 #7021AF #AF2160
monochromatic
#0E4811 #177C1D #21AF29 #34D93E #68E36F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21AF29#FFFFFF#000000##000000
##21AF291.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)
#B39E09
Deuteranopia (green-blind)
#A49338
Tritanopia (blue-blind)
#00AA96
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #21af29;
/* rgb */ color: rgb(33, 175, 41);
/* oklch */ color: oklch(65.8% 0.205 143.3);
Tailwind
colors: {
  custom: {
    50: '#78c86d',
    500: '#21af29',
    950: '#000000',
  },
}
SCSS
$custom: #21af29;
$custom-light: #78c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#21af29",
  "rgb": {
    "r": 33,
    "g": 175,
    "b": 41
  },
  "hsl": {
    "h": 123.38,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.65795,
    "c": 0.2053,
    "h": 143.3
  },
  "luminance": 0.31143
}

Semantic roles & 50–950 ramp

primary
#21AF29
secondary
#C864C2
accent
#3DE1EB
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #21AF29

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

Preview Lab → · Contrast checker → · Palette generator →

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