#21A231#21A231

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

Color values

HEX#21A231
RGBrgb(33, 162, 49)
HSLhsl(127, 66%, 38%)
HSVhsv(127, 80%, 64%)
CMYKcmyk(79.6%, 0%, 69.8%, 36.5%)
CIE-LABlab(58.40, -56.00, 47.20)
CIE-LCHlch(58.40, 73.23, 139.88°)
OKLaboklab(62.3% -0.1513 0.1083)
OKLCHoklch(62.3% 0.186 144.4)
XYZxyz(14.1009, 26.3841, 7.2546)
Luminance0.2639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A231 #A22192
analogous
#51A221 #21A231 #21A271
triadic
#21A231 #3121A2 #A23121
tetradic
#21A231 #2151A2 #A22192 #A27121
square
#21A231 #2151A2 #A22192 #A27121
split-complementary
#21A231 #7121A2 #A22151
monochromatic
#0C3C12 #176F22 #21A231 #2CD441 #5FDE6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21A231#FFFFFF#000000##000000
##21A2311.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)
#A59221
Deuteranopia (green-blind)
#97893C
Tritanopia (blue-blind)
#009E8B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #21a231;
/* rgb */ color: rgb(33, 162, 49);
/* oklch */ color: oklch(62.3% 0.186 144.4);
Tailwind
colors: {
  custom: {
    50: '#74bf6f',
    500: '#21a231',
    950: '#000000',
  },
}
SCSS
$custom: #21a231;
$custom-light: #74bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#21a231",
  "rgb": {
    "r": 33,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 127.442,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62297,
    "c": 0.18606,
    "h": 144.4
  },
  "luminance": 0.26386
}

Semantic roles & 50–950 ramp

primary
#21A231
secondary
#C35CB6
accent
#3FD4E9
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #21A231

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

Preview Lab → · Contrast checker → · Palette generator →

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