#21A738#21A738

#21A738 is a light, vivid green. Relative luminance 0.282; OKLCH L 63.7% C 0.187 H 145.2°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#21A738
RGBrgb(33, 167, 56)
HSLhsl(130, 67%, 39%)
HSVhsv(130, 80%, 65%)
CMYKcmyk(80.2%, 0%, 66.5%, 34.5%)
CIE-LABlab(60.11, -56.91, 46.10)
CIE-LCHlch(60.11, 73.24, 140.99°)
OKLaboklab(63.74% -0.1534 0.1068)
OKLCHoklch(63.74% 0.187 145.2)
XYZxyz(15.1586, 28.2445, 8.3934)
Luminance0.2825 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A738 #A72190
analogous
#4DA721 #21A738 #21A77B
triadic
#21A738 #3821A7 #A73821
tetradic
#21A738 #214DA7 #A72190 #A77B21
square
#21A738 #214DA7 #A72190 #A77B21
split-complementary
#21A738 #7B21A7 #A7214D
monochromatic
#0D4116 #177427 #21A738 #2FD64C #62E078

Accessibility & contrast

On white

3.16
#21A738 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#21A738 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A738
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A738#FFFFFF#000000##000000
##21A7381.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA972A
Deuteranopia (green-blind)
#9B8D42
Tritanopia (blue-blind)
#00A390
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #21a738;
/* rgb */ color: rgb(33, 167, 56);
/* oklch */ color: oklch(63.7% 0.187 145.2);
Tailwind
colors: {
  custom: {
    50: '#75c274',
    500: '#21a738',
    950: '#000000',
  },
}
SCSS
$custom: #21a738;
$custom-light: #75c274;
$custom-dark: #000000;
JSON
{
  "hex": "#21a738",
  "rgb": {
    "r": 33,
    "g": 167,
    "b": 56
  },
  "hsl": {
    "h": 130.299,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63736,
    "c": 0.18696,
    "h": 145.2
  },
  "luminance": 0.28246
}

Semantic roles & 50–950 ramp

primary
#21A738
secondary
#C55FB4
accent
#3ECCEA
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #21A738

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

Preview Lab → · Contrast checker → · Palette generator →

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