#21A045#21A045

#21A045 is a mid, vivid green. Relative luminance 0.259; OKLCH L 62.0% C 0.168 H 147.8°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#21A045
RGBrgb(33, 160, 69)
HSLhsl(137, 66%, 38%)
HSVhsv(137, 79%, 63%)
CMYKcmyk(79.4%, 0%, 56.9%, 37.3%)
CIE-LABlab(57.94, -52.93, 37.62)
CIE-LCHlch(57.94, 64.94, 144.60°)
OKLaboklab(61.98% -0.1423 0.0897)
OKLCHoklch(61.98% 0.168 147.8)
XYZxyz(14.2711, 25.8929, 9.8748)
Luminance0.2590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A045 #A0217C
analogous
#3CA021 #21A045 #21A084
triadic
#21A045 #4521A0 #A04521
tetradic
#21A045 #213CA0 #A0217C #A08421
square
#21A045 #213CA0 #A0217C #A08421
split-complementary
#21A045 #8421A0 #A0213C
monochromatic
#0C3B19 #176D2F #21A045 #2BD35B #5EDE82

Accessibility & contrast

On white

3.40
#21A045 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#21A045 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A045
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A045#FFFFFF#000000##000000
##21A0451.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2913C
Deuteranopia (green-blind)
#94874C
Tritanopia (blue-blind)
#009C8C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #21a045;
/* rgb */ color: rgb(33, 160, 69);
/* oklch */ color: oklch(62.0% 0.168 147.8);
Tailwind
colors: {
  custom: {
    50: '#73bd7b',
    500: '#21a045',
    950: '#000000',
  },
}
SCSS
$custom: #21a045;
$custom-light: #73bd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#21a045",
  "rgb": {
    "r": 33,
    "g": 160,
    "b": 69
  },
  "hsl": {
    "h": 137.008,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61975,
    "c": 0.16821,
    "h": 147.8
  },
  "luminance": 0.25895
}

Semantic roles & 50–950 ramp

primary
#21A045
secondary
#C25BA5
accent
#3FB9E9
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#091209
muted
#7B817B

Preview Lab

Preview with #21A045

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

Preview Lab → · Contrast checker → · Palette generator →

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