#21A234#21A234

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

Color values

HEX#21A234
RGBrgb(33, 162, 52)
HSLhsl(129, 66%, 38%)
HSVhsv(129, 80%, 64%)
CMYKcmyk(79.6%, 0%, 67.9%, 36.5%)
CIE-LABlab(58.42, -55.69, 45.97)
CIE-LCHlch(58.42, 72.22, 140.46°)
OKLaboklab(62.33% -0.1503 0.1061)
OKLCHoklch(62.33% 0.184 144.8)
XYZxyz(14.1664, 26.4102, 7.5992)
Luminance0.2641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A234 #A2218F
analogous
#4EA221 #21A234 #21A274
triadic
#21A234 #3421A2 #A23421
tetradic
#21A234 #214EA2 #A2218F #A27421
square
#21A234 #214EA2 #A2218F #A27421
split-complementary
#21A234 #7421A2 #A2214E
monochromatic
#0C3C13 #176F24 #21A234 #2CD445 #5FDE72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21A234#FFFFFF#000000##000000
##21A2341.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)
#A59225
Deuteranopia (green-blind)
#97893E
Tritanopia (blue-blind)
#009E8C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #21a234;
/* rgb */ color: rgb(33, 162, 52);
/* oklch */ color: oklch(62.3% 0.184 144.8);
Tailwind
colors: {
  custom: {
    50: '#74bf71',
    500: '#21a234',
    950: '#000000',
  },
}
SCSS
$custom: #21a234;
$custom-light: #74bf71;
$custom-dark: #000000;
JSON
{
  "hex": "#21a234",
  "rgb": {
    "r": 33,
    "g": 162,
    "b": 52
  },
  "hsl": {
    "h": 128.837,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62325,
    "c": 0.184,
    "h": 144.8
  },
  "luminance": 0.26412
}

Semantic roles & 50–950 ramp

primary
#21A234
secondary
#C35CB4
accent
#3FD0E9
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #21A234

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

Preview Lab → · Contrast checker → · Palette generator →

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