#21A01C#21A01C

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

Color values

HEX#21A01C
RGBrgb(33, 160, 28)
HSLhsl(118, 70%, 37%)
HSVhsv(118, 83%, 63%)
CMYKcmyk(79.4%, 0%, 82.5%, 37.3%)
CIE-LABlab(57.60, -56.99, 53.78)
CIE-LCHlch(57.60, 78.35, 136.66°)
OKLaboklab(61.59% -0.1549 0.1193)
OKLCHoklch(61.59% 0.195 142.4)
XYZxyz(13.4068, 25.5472, 5.3229)
Luminance0.2555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A01C #9B1CA0
analogous
#63A01C #21A01C #1CA059
triadic
#21A01C #1C21A0 #A01C21
tetradic
#21A01C #1C63A0 #9B1CA0 #A0591C
square
#21A01C #1C63A0 #9B1CA0 #A0591C
split-complementary
#21A01C #591CA0 #A01C63
monochromatic
#0C380A #166C13 #21A01C #2CD425 #5AE155

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21A01C#FFFFFF#000000##000000
##21A01C1.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)
#96872D
Tritanopia (blue-blind)
#009B88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #21a01c;
/* rgb */ color: rgb(33, 160, 28);
/* oklch */ color: oklch(61.6% 0.195 142.4);
Tailwind
colors: {
  custom: {
    50: '#75bd65',
    500: '#21a01c',
    950: '#000000',
  },
}
SCSS
$custom: #21a01c;
$custom-light: #75bd65;
$custom-dark: #000000;
JSON
{
  "hex": "#21a01c",
  "rgb": {
    "r": 33,
    "g": 160,
    "b": 28
  },
  "hsl": {
    "h": 117.727,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61594,
    "c": 0.19549,
    "h": 142.4
  },
  "luminance": 0.25549
}

Semantic roles & 50–950 ramp

primary
#21A01C
secondary
#C053C4
accent
#3BEDE6
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #21A01C

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

Preview Lab → · Contrast checker → · Palette generator →

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