#21A230#21A230

#21A230 is a light, vivid green. Relative luminance 0.264; OKLCH L 62.3% C 0.187 H 144.3°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#21A230
RGBrgb(33, 162, 48)
HSLhsl(127, 66%, 38%)
HSVhsv(127, 80%, 64%)
CMYKcmyk(79.6%, 0%, 70.4%, 36.5%)
CIE-LABlab(58.39, -56.09, 47.59)
CIE-LCHlch(58.39, 73.56, 139.69°)
OKLaboklab(62.29% -0.1516 0.109)
OKLCHoklch(62.29% 0.187 144.3)
XYZxyz(14.0801, 26.3757, 7.1447)
Luminance0.2638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A230 #A22193
analogous
#52A221 #21A230 #21A270
triadic
#21A230 #3021A2 #A23021
tetradic
#21A230 #2152A2 #A22193 #A27021
square
#21A230 #2152A2 #A22193 #A27021
split-complementary
#21A230 #7021A2 #A22152
monochromatic
#0C3C12 #176F21 #21A230 #2CD440 #5FDE6E

Accessibility & contrast

On white

3.35
#21A230 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#21A230 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A230
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A230#FFFFFF#000000##000000
##21A2301.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921F
Deuteranopia (green-blind)
#97893B
Tritanopia (blue-blind)
#009D8B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #21a230;
/* rgb */ color: rgb(33, 162, 48);
/* oklch */ color: oklch(62.3% 0.187 144.3);
Tailwind
colors: {
  custom: {
    50: '#74bf6f',
    500: '#21a230',
    950: '#000000',
  },
}
SCSS
$custom: #21a230;
$custom-light: #74bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#21a230",
  "rgb": {
    "r": 33,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 126.977,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62288,
    "c": 0.18673,
    "h": 144.3
  },
  "luminance": 0.26377
}

Semantic roles & 50–950 ramp

primary
#21A230
secondary
#C35CB7
accent
#3FD5E9
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #21A230

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

Preview Lab → · Contrast checker → · Palette generator →

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