#21AF30#21AF30

#21AF30 is a light, highly saturated green. Relative luminance 0.312; OKLCH L 65.8% C 0.201 H 144.0°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#21AF30
RGBrgb(33, 175, 48)
HSLhsl(126, 68%, 41%)
HSVhsv(126, 81%, 69%)
CMYKcmyk(81.1%, 0%, 72.6%, 31.4%)
CIE-LABlab(62.67, -60.24, 52.06)
CIE-LCHlch(62.67, 79.61, 139.17°)
OKLaboklab(65.85% -0.1629 0.1184)
OKLCHoklch(65.85% 0.201 144)
XYZxyz(16.4895, 31.1947, 7.9478)
Luminance0.3120 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AF30 #AF21A0
analogous
#59AF21 #21AF30 #21AF77
triadic
#21AF30 #3021AF #AF3021
tetradic
#21AF30 #2159AF #AF21A0 #AF7721
square
#21AF30 #2159AF #AF21A0 #AF7721
split-complementary
#21AF30 #7721AF #AF2159
monochromatic
#0E4814 #177C22 #21AF30 #34D946 #68E375

Accessibility & contrast

On white

2.90
#21AF30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#21AF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21AF30
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AF30#FFFFFF#000000##000000
##21AF301.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1A
Deuteranopia (green-blind)
#A3943D
Tritanopia (blue-blind)
#00AA96
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #21af30;
/* rgb */ color: rgb(33, 175, 48);
/* oklch */ color: oklch(65.8% 0.201 144.0);
Tailwind
colors: {
  custom: {
    50: '#77c870',
    500: '#21af30',
    950: '#000000',
  },
}
SCSS
$custom: #21af30;
$custom-light: #77c870;
$custom-dark: #000000;
JSON
{
  "hex": "#21af30",
  "rgb": {
    "r": 33,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 126.338,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.65846,
    "c": 0.20134,
    "h": 144
  },
  "luminance": 0.31197
}

Semantic roles & 50–950 ramp

primary
#21AF30
secondary
#C864BE
accent
#3DD9EB
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #21AF30

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

Preview Lab → · Contrast checker → · Palette generator →

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