#21A845#21A845

#21A845 is a light, vivid green. Relative luminance 0.288; OKLCH L 64.2% C 0.178 H 147.2°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#21A845
RGBrgb(33, 168, 69)
HSLhsl(136, 67%, 39%)
HSVhsv(136, 80%, 66%)
CMYKcmyk(80.4%, 0%, 58.9%, 34.1%)
CIE-LABlab(60.57, -55.67, 40.73)
CIE-LCHlch(60.57, 68.98, 143.81°)
OKLaboklab(64.16% -0.1497 0.0965)
OKLCHoklch(64.16% 0.178 147.2)
XYZxyz(15.7028, 28.7564, 10.3520)
Luminance0.2876 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A845 #A82184
analogous
#41A821 #21A845 #21A889
triadic
#21A845 #4521A8 #A84521
tetradic
#21A845 #2141A8 #A82184 #A88921
square
#21A845 #2141A8 #A82184 #A88921
split-complementary
#21A845 #8921A8 #A82141
monochromatic
#0D421B #177530 #21A845 #30D65C #63E084

Accessibility & contrast

On white

3.11
#21A845 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#21A845 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A845
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A845#FFFFFF#000000##000000
##21A8451.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA983B
Deuteranopia (green-blind)
#9B8E4D
Tritanopia (blue-blind)
#00A492
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #21a845;
/* rgb */ color: rgb(33, 168, 69);
/* oklch */ color: oklch(64.2% 0.178 147.2);
Tailwind
colors: {
  custom: {
    50: '#75c37c',
    500: '#21a845',
    950: '#000000',
  },
}
SCSS
$custom: #21a845;
$custom-light: #75c37c;
$custom-dark: #000000;
JSON
{
  "hex": "#21a845",
  "rgb": {
    "r": 33,
    "g": 168,
    "b": 69
  },
  "hsl": {
    "h": 136,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64157,
    "c": 0.17808,
    "h": 147.2
  },
  "luminance": 0.28758
}

Semantic roles & 50–950 ramp

primary
#21A845
secondary
#C55FAA
accent
#3EBCEA
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A130A
muted
#7C827C

Preview Lab

Preview with #21A845

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

Preview Lab → · Contrast checker → · Palette generator →

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