#21A427#21A427

#21A427 is a light, vivid green. Relative luminance 0.270; OKLCH L 62.8% C 0.194 H 143.3°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#21A427
RGBrgb(33, 164, 39)
HSLhsl(123, 66%, 39%)
HSVhsv(123, 80%, 64%)
CMYKcmyk(79.9%, 0%, 76.2%, 35.7%)
CIE-LABlab(58.99, -57.51, 51.61)
CIE-LCHlch(58.99, 77.27, 138.10°)
OKLaboklab(62.77% -0.1558 0.1163)
OKLCHoklch(62.77% 0.194 143.3)
XYZxyz(14.2679, 27.0190, 6.3823)
Luminance0.2702 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A427 #A4219E
analogous
#5CA421 #21A427 #21A468
triadic
#21A427 #2721A4 #A42721
tetradic
#21A427 #215CA4 #A4219E #A46821
square
#21A427 #215CA4 #A4219E #A46821
split-complementary
#21A427 #6821A4 #A4215C
monochromatic
#0C3E0F #17711B #21A427 #2DD535 #60DF66

Accessibility & contrast

On white

3.28
#21A427 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#21A427 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A427
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A427#FFFFFF#000000##000000
##21A4271.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7940B
Deuteranopia (green-blind)
#998A35
Tritanopia (blue-blind)
#009F8C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #21a427;
/* rgb */ color: rgb(33, 164, 39);
/* oklch */ color: oklch(62.8% 0.194 143.3);
Tailwind
colors: {
  custom: {
    50: '#75c06a',
    500: '#21a427',
    950: '#000000',
  },
}
SCSS
$custom: #21a427;
$custom-light: #75c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#21a427",
  "rgb": {
    "r": 33,
    "g": 164,
    "b": 39
  },
  "hsl": {
    "h": 122.748,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62767,
    "c": 0.19442,
    "h": 143.3
  },
  "luminance": 0.27021
}

Semantic roles & 50–950 ramp

primary
#21A427
secondary
#C45DBF
accent
#3EE2E9
background
#F7FCF6
surface
#EEF8EB
border
#C9D1C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #21A427

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

Preview Lab → · Contrast checker → · Palette generator →

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