#21A028#21A028

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

Color values

HEX#21A028
RGBrgb(33, 160, 40)
HSLhsl(123, 66%, 38%)
HSVhsv(123, 79%, 63%)
CMYKcmyk(79.4%, 0%, 75%, 37.3%)
CIE-LABlab(57.67, -56.16, 49.93)
CIE-LCHlch(57.67, 75.14, 138.36°)
OKLaboklab(61.67% -0.1521 0.1129)
OKLCHoklch(61.67% 0.189 143.4)
XYZxyz(13.5801, 25.6165, 6.2358)
Luminance0.2562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A028 #A02199
analogous
#59A021 #21A028 #21A067
triadic
#21A028 #2821A0 #A02821
tetradic
#21A028 #2159A0 #A02199 #A06721
square
#21A028 #2159A0 #A02199 #A06721
split-complementary
#21A028 #6721A0 #A02159
monochromatic
#0C3B0F #176D1B #21A028 #2BD335 #5EDE65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21A028#FFFFFF#000000##000000
##21A0281.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)
#A39010
Deuteranopia (green-blind)
#968735
Tritanopia (blue-blind)
#009B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #21a028;
/* rgb */ color: rgb(33, 160, 40);
/* oklch */ color: oklch(61.7% 0.189 143.4);
Tailwind
colors: {
  custom: {
    50: '#74bd6a',
    500: '#21a028',
    950: '#000000',
  },
}
SCSS
$custom: #21a028;
$custom-light: #74bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#21a028",
  "rgb": {
    "r": 33,
    "g": 160,
    "b": 40
  },
  "hsl": {
    "h": 123.307,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6167,
    "c": 0.18942,
    "h": 143.4
  },
  "luminance": 0.25618
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21A028

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

Preview Lab → · Contrast checker → · Palette generator →

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