#21A027#21A027

#21A027 is a mid, vivid green. Relative luminance 0.256; OKLCH L 61.7% C 0.190 H 143.3°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#21A027
RGBrgb(33, 160, 39)
HSLhsl(123, 66%, 38%)
HSVhsv(123, 79%, 63%)
CMYKcmyk(79.4%, 0%, 75.6%, 37.3%)
CIE-LABlab(57.66, -56.24, 50.28)
CIE-LCHlch(57.66, 75.44, 138.20°)
OKLaboklab(61.66% -0.1524 0.1135)
OKLCHoklch(61.66% 0.19 143.3)
XYZxyz(13.5633, 25.6098, 6.1474)
Luminance0.2561 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A027 #A0219A
analogous
#5AA021 #21A027 #21A067
triadic
#21A027 #2721A0 #A02721
tetradic
#21A027 #215AA0 #A0219A #A06721
square
#21A027 #215AA0 #A0219A #A06721
split-complementary
#21A027 #6721A0 #A0215A
monochromatic
#0C3B0E #176D1B #21A027 #2BD333 #5EDE64

Accessibility & contrast

On white

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

On black

6.12
#21A027 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A027
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A027#FFFFFF#000000##000000
##21A0271.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3900E
Deuteranopia (green-blind)
#968734
Tritanopia (blue-blind)
#009B89
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #21a027;
/* rgb */ color: rgb(33, 160, 39);
/* oklch */ color: oklch(61.7% 0.190 143.3);
Tailwind
colors: {
  custom: {
    50: '#74bd6a',
    500: '#21a027',
    950: '#000000',
  },
}
SCSS
$custom: #21a027;
$custom-light: #74bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#21a027",
  "rgb": {
    "r": 33,
    "g": 160,
    "b": 39
  },
  "hsl": {
    "h": 122.835,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61663,
    "c": 0.19001,
    "h": 143.3
  },
  "luminance": 0.25611
}

Semantic roles & 50–950 ramp

primary
#21A027
secondary
#C25BBD
accent
#3FE1E9
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #21A027

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

Preview Lab → · Contrast checker → · Palette generator →

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