#21A02C#21A02C

#21A02C is a mid, vivid green. Relative luminance 0.256; OKLCH L 61.7% C 0.187 H 143.8°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#21A02C
RGBrgb(33, 160, 44)
HSLhsl(125, 66%, 38%)
HSVhsv(125, 79%, 63%)
CMYKcmyk(79.4%, 0%, 72.5%, 37.3%)
CIE-LABlab(57.70, -55.82, 48.45)
CIE-LCHlch(57.70, 73.91, 139.04°)
OKLaboklab(61.7% -0.151 0.1103)
OKLCHoklch(61.7% 0.187 143.8)
XYZxyz(13.6517, 25.6452, 6.6129)
Luminance0.2565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A02C #A02195
analogous
#55A021 #21A02C #21A06B
triadic
#21A02C #2C21A0 #A02C21
tetradic
#21A02C #2155A0 #A02195 #A06B21
square
#21A02C #2155A0 #A02195 #A06B21
split-complementary
#21A02C #6B21A0 #A02155
monochromatic
#0C3B10 #176D1E #21A02C #2BD33A #5EDE69

Accessibility & contrast

On white

3.43
#21A02C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#21A02C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A02C
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A02C#FFFFFF#000000##000000
##21A02C1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39019
Deuteranopia (green-blind)
#958738
Tritanopia (blue-blind)
#009B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #21a02c;
/* rgb */ color: rgb(33, 160, 44);
/* oklch */ color: oklch(61.7% 0.187 143.8);
Tailwind
colors: {
  custom: {
    50: '#74bd6c',
    500: '#21a02c',
    950: '#000000',
  },
}
SCSS
$custom: #21a02c;
$custom-light: #74bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#21a02c",
  "rgb": {
    "r": 33,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 125.197,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61702,
    "c": 0.18702,
    "h": 143.8
  },
  "luminance": 0.25647
}

Semantic roles & 50–950 ramp

primary
#21A02C
secondary
#C25BB9
accent
#3FDAE9
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #21A02C

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

Preview Lab → · Contrast checker → · Palette generator →

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