#21A12C#21A12C

#21A12C is a mid, vivid green. Relative luminance 0.260; OKLCH L 62.0% C 0.188 H 143.8°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#21A12C
RGBrgb(33, 161, 44)
HSLhsl(125, 66%, 38%)
HSVhsv(125, 80%, 63%)
CMYKcmyk(79.5%, 0%, 72.7%, 36.9%)
CIE-LABlab(58.03, -56.14, 48.79)
CIE-LCHlch(58.03, 74.38, 139.00°)
OKLaboklab(61.98% -0.1519 0.1111)
OKLCHoklch(61.98% 0.188 143.8)
XYZxyz(13.8258, 25.9933, 6.6709)
Luminance0.2600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A12C #A12196
analogous
#56A121 #21A12C #21A16C
triadic
#21A12C #2C21A1 #A12C21
tetradic
#21A12C #2156A1 #A12196 #A16C21
square
#21A12C #2156A1 #A12196 #A16C21
split-complementary
#21A12C #6C21A1 #A12156
monochromatic
#0C3B10 #176E1E #21A12C #2CD43A #5EDE69

Accessibility & contrast

On white

3.39
#21A12C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#21A12C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A12C
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A12C#FFFFFF#000000##000000
##21A12C1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49118
Deuteranopia (green-blind)
#968838
Tritanopia (blue-blind)
#009C8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #21a12c;
/* rgb */ color: rgb(33, 161, 44);
/* oklch */ color: oklch(62.0% 0.188 143.8);
Tailwind
colors: {
  custom: {
    50: '#74be6c',
    500: '#21a12c',
    950: '#000000',
  },
}
SCSS
$custom: #21a12c;
$custom-light: #74be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#21a12c",
  "rgb": {
    "r": 33,
    "g": 161,
    "b": 44
  },
  "hsl": {
    "h": 125.156,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61978,
    "c": 0.18816,
    "h": 143.8
  },
  "luminance": 0.25995
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21A12C

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

Preview Lab → · Contrast checker → · Palette generator →

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