#21A32C#21A32C

#21A32C is a light, vivid green. Relative luminance 0.267; OKLCH L 62.5% C 0.190 H 143.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#21A32C
RGBrgb(33, 163, 44)
HSLhsl(125, 66%, 38%)
HSVhsv(125, 80%, 64%)
CMYKcmyk(79.8%, 0%, 73%, 36.1%)
CIE-LABlab(58.69, -56.78, 49.48)
CIE-LCHlch(58.69, 75.31, 138.93°)
OKLaboklab(62.53% -0.1536 0.1125)
OKLCHoklch(62.53% 0.19 143.8)
XYZxyz(14.1781, 26.6979, 6.7884)
Luminance0.2670 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A32C #A32198
analogous
#57A321 #21A32C #21A36D
triadic
#21A32C #2C21A3 #A32C21
tetradic
#21A32C #2157A3 #A32198 #A36D21
square
#21A32C #2157A3 #A32198 #A36D21
split-complementary
#21A32C #6D21A3 #A32157
monochromatic
#0C3D11 #17701E #21A32C #2DD43B #60DF6A

Accessibility & contrast

On white

3.31
#21A32C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#21A32C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A32C
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A32C#FFFFFF#000000##000000
##21A32C1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69317
Deuteranopia (green-blind)
#988938
Tritanopia (blue-blind)
#009E8C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #21a32c;
/* rgb */ color: rgb(33, 163, 44);
/* oklch */ color: oklch(62.5% 0.190 143.8);
Tailwind
colors: {
  custom: {
    50: '#75bf6d',
    500: '#21a32c',
    950: '#000000',
  },
}
SCSS
$custom: #21a32c;
$custom-light: #75bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#21a32c",
  "rgb": {
    "r": 33,
    "g": 163,
    "b": 44
  },
  "hsl": {
    "h": 125.077,
    "s": 66.327,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62529,
    "c": 0.1904,
    "h": 143.8
  },
  "luminance": 0.267
}

Semantic roles & 50–950 ramp

primary
#21A32C
secondary
#C35CBB
accent
#3FDBE9
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #21A32C

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

Preview Lab → · Contrast checker → · Palette generator →

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