#21A02F#21A02F

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

Color values

HEX#21A02F
RGBrgb(33, 160, 47)
HSLhsl(127, 66%, 38%)
HSVhsv(127, 79%, 63%)
CMYKcmyk(79.4%, 0%, 70.6%, 37.3%)
CIE-LABlab(57.72, -55.54, 47.29)
CIE-LCHlch(57.72, 72.94, 139.59°)
OKLaboklab(61.73% -0.1501 0.1083)
OKLCHoklch(61.73% 0.185 144.2)
XYZxyz(13.7102, 25.6685, 6.9207)
Luminance0.2567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A02F #A02192
analogous
#53A021 #21A02F #21A06E
triadic
#21A02F #2F21A0 #A02F21
tetradic
#21A02F #2153A0 #A02192 #A06E21
square
#21A02F #2153A0 #A02192 #A06E21
split-complementary
#21A02F #6E21A0 #A02153
monochromatic
#0C3B11 #176D20 #21A02F #2BD33E #5EDE6C

Accessibility & contrast

On white

3.42
#21A02F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##21A02F#FFFFFF#000000##000000
##21A02F1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3901E
Deuteranopia (green-blind)
#95873A
Tritanopia (blue-blind)
#009C89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #21a02f;
/* rgb */ color: rgb(33, 160, 47);
/* oklch */ color: oklch(61.7% 0.185 144.2);
Tailwind
colors: {
  custom: {
    50: '#74bd6e',
    500: '#21a02f',
    950: '#000000',
  },
}
SCSS
$custom: #21a02f;
$custom-light: #74bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#21a02f",
  "rgb": {
    "r": 33,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 126.614,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61728,
    "c": 0.18509,
    "h": 144.2
  },
  "luminance": 0.2567
}

Semantic roles & 50–950 ramp

primary
#21A02F
secondary
#C25BB7
accent
#3FD6E9
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #21A02F

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

Preview Lab → · Contrast checker → · Palette generator →

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