#21A01D#21A01D

#21A01D is a mid, vivid green. Relative luminance 0.256; OKLCH L 61.6% C 0.195 H 142.5°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#21A01D
RGBrgb(33, 160, 29)
HSLhsl(118, 69%, 37%)
HSVhsv(118, 82%, 63%)
CMYKcmyk(79.4%, 0%, 81.9%, 37.3%)
CIE-LABlab(57.61, -56.93, 53.49)
CIE-LCHlch(57.61, 78.12, 136.78°)
OKLaboklab(61.6% -0.1547 0.1188)
OKLCHoklch(61.6% 0.195 142.5)
XYZxyz(13.4189, 25.5521, 5.3870)
Luminance0.2555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A01D #9C1DA0
analogous
#63A01D #21A01D #1DA05B
triadic
#21A01D #1D21A0 #A01D21
tetradic
#21A01D #1D63A0 #9C1DA0 #A05B1D
square
#21A01D #1D63A0 #9C1DA0 #A05B1D
split-complementary
#21A01D #5B1DA0 #A01D63
monochromatic
#0C380A #166C14 #21A01D #2CD426 #5BE157

Accessibility & contrast

On white

3.44
#21A01D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#21A01D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A01D
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A01D#FFFFFF#000000##000000
##21A01D1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#96872E
Tritanopia (blue-blind)
#009B88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #21a01d;
/* rgb */ color: rgb(33, 160, 29);
/* oklch */ color: oklch(61.6% 0.195 142.5);
Tailwind
colors: {
  custom: {
    50: '#75bd65',
    500: '#21a01d',
    950: '#000000',
  },
}
SCSS
$custom: #21a01d;
$custom-light: #75bd65;
$custom-dark: #000000;
JSON
{
  "hex": "#21a01d",
  "rgb": {
    "r": 33,
    "g": 160,
    "b": 29
  },
  "hsl": {
    "h": 118.168,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61599,
    "c": 0.19505,
    "h": 142.5
  },
  "luminance": 0.25554
}

Semantic roles & 50–950 ramp

primary
#21A01D
secondary
#C155C4
accent
#3CECE7
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #21A01D

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

Preview Lab → · Contrast checker → · Palette generator →

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