#21C12F#21C12F

#21C12F is a light, highly saturated green. Relative luminance 0.387; OKLCH L 70.7% C 0.221 H 143.6°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#21C12F
RGBrgb(33, 193, 47)
HSLhsl(125, 71%, 44%)
HSVhsv(125, 83%, 76%)
CMYKcmyk(82.9%, 0%, 75.6%, 24.3%)
CIE-LABlab(68.51, -65.83, 58.30)
CIE-LCHlch(68.51, 87.94, 138.47°)
OKLaboklab(70.7% -0.1781 0.1313)
OKLCHoklch(70.7% 0.221 143.6)
XYZxyz(20.2089, 38.6660, 9.0870)
Luminance0.3867 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21C12F #C121B3
analogous
#63C121 #21C12F #21C17F
triadic
#21C12F #2F21C1 #C12F21
tetradic
#21C12F #2163C1 #C121B3 #C17F21
square
#21C12F #2163C1 #C121B3 #C17F21
split-complementary
#21C12F #7F21C1 #C12163
monochromatic
#0F5816 #188D22 #21C12F #41DE4F #75E77F

Accessibility & contrast

On white

2.40
#21C12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#21C12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21C12F
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21C12F#FFFFFF#000000##000000
##21C12F1.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE0D
Deuteranopia (green-blind)
#B4A33F
Tritanopia (blue-blind)
#00BBA5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #21c12f;
/* rgb */ color: rgb(33, 193, 47);
/* oklch */ color: oklch(70.7% 0.221 143.6);
Tailwind
colors: {
  custom: {
    50: '#7cd572',
    500: '#21c12f',
    950: '#000000',
  },
}
SCSS
$custom: #21c12f;
$custom-light: #7cd572;
$custom-dark: #000000;
JSON
{
  "hex": "#21c12f",
  "rgb": {
    "r": 33,
    "g": 193,
    "b": 47
  },
  "hsl": {
    "h": 125.25,
    "s": 70.796,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70702,
    "c": 0.22128,
    "h": 143.6
  },
  "luminance": 0.38668
}

Semantic roles & 50–950 ramp

primary
#21C12F
secondary
#CF6FC6
accent
#3ADEEE
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1408
muted
#7D837B

Preview Lab

Preview with #21C12F

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

Preview Lab → · Contrast checker → · Palette generator →

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