#21A235#21A235

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

Color values

HEX#21A235
RGBrgb(33, 162, 53)
HSLhsl(129, 66%, 38%)
HSVhsv(129, 80%, 64%)
CMYKcmyk(79.6%, 0%, 67.3%, 36.5%)
CIE-LABlab(58.43, -55.59, 45.56)
CIE-LCHlch(58.43, 71.87, 140.66°)
OKLaboklab(62.33% -0.15 0.1053)
OKLCHoklch(62.33% 0.183 144.9)
XYZxyz(14.1891, 26.4193, 7.7191)
Luminance0.2642 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A235 #A2218E
analogous
#4EA221 #21A235 #21A275
triadic
#21A235 #3521A2 #A23521
tetradic
#21A235 #214EA2 #A2218E #A27521
square
#21A235 #214EA2 #A2218E #A27521
split-complementary
#21A235 #7521A2 #A2214E
monochromatic
#0C3C14 #176F24 #21A235 #2CD446 #5FDE73

Accessibility & contrast

On white

3.34
#21A235 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##21A235#FFFFFF#000000##000000
##21A2351.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59227
Deuteranopia (green-blind)
#97893F
Tritanopia (blue-blind)
#009E8C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #21a235;
/* rgb */ color: rgb(33, 162, 53);
/* oklch */ color: oklch(62.3% 0.183 144.9);
Tailwind
colors: {
  custom: {
    50: '#74bf71',
    500: '#21a235',
    950: '#000000',
  },
}
SCSS
$custom: #21a235;
$custom-light: #74bf71;
$custom-dark: #000000;
JSON
{
  "hex": "#21a235",
  "rgb": {
    "r": 33,
    "g": 162,
    "b": 53
  },
  "hsl": {
    "h": 129.302,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62335,
    "c": 0.18329,
    "h": 144.9
  },
  "luminance": 0.26421
}

Semantic roles & 50–950 ramp

primary
#21A235
secondary
#C35CB3
accent
#3FCFE9
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #21A235

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

Preview Lab → · Contrast checker → · Palette generator →

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