#21A05C#21A05C

#21A05C is a light, vivid green. Relative luminance 0.262; OKLCH L 62.4% C 0.147 H 153.9°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#21A05C
RGBrgb(33, 160, 92)
HSLhsl(148, 66%, 38%)
HSVhsv(148, 79%, 63%)
CMYKcmyk(79.4%, 0%, 42.5%, 37.3%)
CIE-LABlab(58.26, -49.12, 26.16)
CIE-LCHlch(58.26, 55.65, 151.96°)
OKLaboklab(62.35% -0.1322 0.0649)
OKLCHoklch(62.35% 0.147 153.9)
XYZxyz(15.1283, 26.2358, 14.3898)
Luminance0.2624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A05C #A02165
analogous
#25A021 #21A05C #21A09B
triadic
#21A05C #5C21A0 #A05C21
tetradic
#21A05C #2125A0 #A02165 #A09B21
square
#21A05C #2125A0 #A02165 #A09B21
split-complementary
#21A05C #9B21A0 #A02125
monochromatic
#0C3B22 #176D3F #21A05C #2BD379 #5EDE99

Accessibility & contrast

On white

3.36
#21A05C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#21A05C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A05C
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A05C#FFFFFF#000000##000000
##21A05C1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09257
Deuteranopia (green-blind)
#918861
Tritanopia (blue-blind)
#009E8F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #21a05c;
/* rgb */ color: rgb(33, 160, 92);
/* oklch */ color: oklch(62.4% 0.147 153.9);
Tailwind
colors: {
  custom: {
    50: '#72bd8b',
    500: '#21a05c',
    950: '#000000',
  },
}
SCSS
$custom: #21a05c;
$custom-light: #72bd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#21a05c",
  "rgb": {
    "r": 33,
    "g": 160,
    "b": 92
  },
  "hsl": {
    "h": 147.874,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6235,
    "c": 0.14722,
    "h": 153.9
  },
  "luminance": 0.26238
}

Semantic roles & 50–950 ramp

primary
#21A05C
secondary
#C25B92
accent
#3F9AE9
background
#F7FBF8
surface
#EDF7F0
border
#C8D0CB
text
#09120C
muted
#7B817D

Preview Lab

Preview with #21A05C

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

Preview Lab → · Contrast checker → · Palette generator →

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