#21A830#21A830

#21A830 is a light, vivid green. Relative luminance 0.285; OKLCH L 63.9% C 0.194 H 144.1°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#21A830
RGBrgb(33, 168, 48)
HSLhsl(127, 67%, 39%)
HSVhsv(127, 80%, 66%)
CMYKcmyk(80.4%, 0%, 71.4%, 34.1%)
CIE-LABlab(60.37, -58.02, 49.67)
CIE-LCHlch(60.37, 76.38, 139.43°)
OKLaboklab(63.93% -0.1568 0.1134)
OKLCHoklch(63.93% 0.194 144.1)
XYZxyz(15.1623, 28.5402, 7.5054)
Luminance0.2854 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A830 #A82199
analogous
#55A821 #21A830 #21A874
triadic
#21A830 #3021A8 #A83021
tetradic
#21A830 #2155A8 #A82199 #A87421
square
#21A830 #2155A8 #A82199 #A87421
split-complementary
#21A830 #7421A8 #A82155
monochromatic
#0D4213 #177521 #21A830 #30D642 #63E071

Accessibility & contrast

On white

3.13
#21A830 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#21A830 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A830
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A830#FFFFFF#000000##000000
##21A8301.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB981D
Deuteranopia (green-blind)
#9D8E3C
Tritanopia (blue-blind)
#00A390
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #21a830;
/* rgb */ color: rgb(33, 168, 48);
/* oklch */ color: oklch(63.9% 0.194 144.1);
Tailwind
colors: {
  custom: {
    50: '#76c36f',
    500: '#21a830',
    950: '#000000',
  },
}
SCSS
$custom: #21a830;
$custom-light: #76c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#21a830",
  "rgb": {
    "r": 33,
    "g": 168,
    "b": 48
  },
  "hsl": {
    "h": 126.667,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63935,
    "c": 0.19353,
    "h": 144.1
  },
  "luminance": 0.28542
}

Semantic roles & 50–950 ramp

primary
#21A830
secondary
#C55FBA
accent
#3ED7EA
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #21A830

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

Preview Lab → · Contrast checker → · Palette generator →

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