#21A438#21A438

#21A438 is a light, vivid green. Relative luminance 0.272; OKLCH L 62.9% C 0.183 H 145.3°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#21A438
RGBrgb(33, 164, 56)
HSLhsl(131, 66%, 39%)
HSVhsv(131, 80%, 64%)
CMYKcmyk(79.9%, 0%, 65.9%, 35.7%)
CIE-LABlab(59.12, -55.92, 45.02)
CIE-LCHlch(59.12, 71.79, 141.17°)
OKLaboklab(62.92% -0.1508 0.1045)
OKLCHoklch(62.92% 0.183 145.3)
XYZxyz(14.6154, 27.1580, 8.2124)
Luminance0.2716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A438 #A4218D
analogous
#4CA421 #21A438 #21A479
triadic
#21A438 #3821A4 #A43821
tetradic
#21A438 #214CA4 #A4218D #A47921
square
#21A438 #214CA4 #A4218D #A47921
split-complementary
#21A438 #7921A4 #A4214C
monochromatic
#0C3E15 #177127 #21A438 #2DD54B #60DF77

Accessibility & contrast

On white

3.26
#21A438 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#21A438 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A438
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A438#FFFFFF#000000##000000
##21A4381.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7942B
Deuteranopia (green-blind)
#988A42
Tritanopia (blue-blind)
#00A08E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #21a438;
/* rgb */ color: rgb(33, 164, 56);
/* oklch */ color: oklch(62.9% 0.183 145.3);
Tailwind
colors: {
  custom: {
    50: '#74c073',
    500: '#21a438',
    950: '#000000',
  },
}
SCSS
$custom: #21a438;
$custom-light: #74c073;
$custom-dark: #000000;
JSON
{
  "hex": "#21a438",
  "rgb": {
    "r": 33,
    "g": 164,
    "b": 56
  },
  "hsl": {
    "h": 130.534,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62915,
    "c": 0.18346,
    "h": 145.3
  },
  "luminance": 0.2716
}

Semantic roles & 50–950 ramp

primary
#21A438
secondary
#C45DB2
accent
#3ECBE9
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #21A438

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

Preview Lab → · Contrast checker → · Palette generator →

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