#21A238#21A238

#21A238 is a light, vivid green. Relative luminance 0.265; OKLCH L 62.4% C 0.181 H 145.4°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#21A238
RGBrgb(33, 162, 56)
HSLhsl(131, 66%, 38%)
HSVhsv(131, 80%, 64%)
CMYKcmyk(79.6%, 0%, 65.4%, 36.5%)
CIE-LABlab(58.46, -55.26, 44.28)
CIE-LCHlch(58.46, 70.82, 141.29°)
OKLaboklab(62.37% -0.149 0.103)
OKLCHoklch(62.37% 0.181 145.4)
XYZxyz(14.2603, 26.4478, 8.0940)
Luminance0.2645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A238 #A2218B
analogous
#4AA221 #21A238 #21A278
triadic
#21A238 #3821A2 #A23821
tetradic
#21A238 #214AA2 #A2218B #A27821
square
#21A238 #214AA2 #A2218B #A27821
split-complementary
#21A238 #7821A2 #A2214A
monochromatic
#0C3C15 #176F26 #21A238 #2CD44A #5FDE76

Accessibility & contrast

On white

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

On black

6.29
#21A238 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A238
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A238#FFFFFF#000000##000000
##21A2381.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5932B
Deuteranopia (green-blind)
#978941
Tritanopia (blue-blind)
#009E8C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #21a238;
/* rgb */ color: rgb(33, 162, 56);
/* oklch */ color: oklch(62.4% 0.181 145.4);
Tailwind
colors: {
  custom: {
    50: '#74bf73',
    500: '#21a238',
    950: '#000000',
  },
}
SCSS
$custom: #21a238;
$custom-light: #74bf73;
$custom-dark: #000000;
JSON
{
  "hex": "#21a238",
  "rgb": {
    "r": 33,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 130.698,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62366,
    "c": 0.1811,
    "h": 145.4
  },
  "luminance": 0.2645
}

Semantic roles & 50–950 ramp

primary
#21A238
secondary
#C35CB1
accent
#3FCBE9
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #21A238

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

Preview Lab → · Contrast checker → · Palette generator →

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