#21A021#21A021

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

Color values

HEX#21A021
RGBrgb(33, 160, 33)
HSLhsl(120, 66%, 38%)
HSVhsv(120, 79%, 63%)
CMYKcmyk(79.4%, 0%, 79.4%, 37.3%)
CIE-LABlab(57.63, -56.67, 52.29)
CIE-LCHlch(57.63, 77.11, 137.31°)
OKLaboklab(61.62% -0.1538 0.1169)
OKLCHoklch(61.62% 0.193 142.8)
XYZxyz(13.4717, 25.5731, 5.6647)
Luminance0.2557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A021 #A021A0
analogous
#60A021 #21A021 #21A060
triadic
#21A021 #2121A0 #A02121
tetradic
#21A021 #2160A0 #A021A0 #A06021
square
#21A021 #2160A0 #A021A0 #A06021
split-complementary
#21A021 #6021A0 #A02160
monochromatic
#0C3B0C #176D17 #21A021 #2BD32B #5EDE5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21A021#FFFFFF#000000##000000
##21A0211.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21a021;
/* rgb */ color: rgb(33, 160, 33);
/* oklch */ color: oklch(61.6% 0.193 142.8);
Tailwind
colors: {
  custom: {
    50: '#74bd67',
    500: '#21a021',
    950: '#000000',
  },
}
SCSS
$custom: #21a021;
$custom-light: #74bd67;
$custom-dark: #000000;
JSON
{
  "hex": "#21a021",
  "rgb": {
    "r": 33,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 120,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61623,
    "c": 0.19318,
    "h": 142.8
  },
  "luminance": 0.25575
}

Semantic roles & 50–950 ramp

primary
#21A021
secondary
#C25BC2
accent
#3FE9E9
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #21A021

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

Preview Lab → · Contrast checker → · Palette generator →

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