#21A938#21A938

#21A938 is a light, vivid green. Relative luminance 0.290; OKLCH L 64.3% C 0.189 H 145.1°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#21A938
RGBrgb(33, 169, 56)
HSLhsl(130, 67%, 40%)
HSVhsv(130, 80%, 66%)
CMYKcmyk(80.5%, 0%, 66.9%, 33.7%)
CIE-LABlab(60.77, -57.56, 46.82)
CIE-LCHlch(60.77, 74.20, 140.87°)
OKLaboklab(64.28% -0.1552 0.1083)
OKLCHoklch(64.28% 0.189 145.1)
XYZxyz(15.5279, 28.9829, 8.5165)
Luminance0.2898 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A938 #A92192
analogous
#4EA921 #21A938 #21A97C
triadic
#21A938 #3821A9 #A93821
tetradic
#21A938 #214EA9 #A92192 #A97C21
square
#21A938 #214EA9 #A92192 #A97C21
split-complementary
#21A938 #7C21A9 #A9214E
monochromatic
#0D4316 #177627 #21A938 #31D74D #64E179

Accessibility & contrast

On white

3.09
#21A938 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#21A938 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A938
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A938#FFFFFF#000000##000000
##21A9381.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9929
Deuteranopia (green-blind)
#9D8F42
Tritanopia (blue-blind)
#00A592
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #21a938;
/* rgb */ color: rgb(33, 169, 56);
/* oklch */ color: oklch(64.3% 0.189 145.1);
Tailwind
colors: {
  custom: {
    50: '#76c474',
    500: '#21a938',
    950: '#000000',
  },
}
SCSS
$custom: #21a938;
$custom-light: #76c474;
$custom-dark: #000000;
JSON
{
  "hex": "#21a938",
  "rgb": {
    "r": 33,
    "g": 169,
    "b": 56
  },
  "hsl": {
    "h": 130.147,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64282,
    "c": 0.18928,
    "h": 145.1
  },
  "luminance": 0.28985
}

Semantic roles & 50–950 ramp

primary
#21A938
secondary
#C660B5
accent
#3ECDEA
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #21A938

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

Preview Lab → · Contrast checker → · Palette generator →

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