#21A031#21A031

#21A031 is a mid, vivid green. Relative luminance 0.257; OKLCH L 61.7% C 0.184 H 144.5°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#21A031
RGBrgb(33, 160, 49)
HSLhsl(128, 66%, 38%)
HSVhsv(128, 79%, 63%)
CMYKcmyk(79.4%, 0%, 69.4%, 37.3%)
CIE-LABlab(57.74, -55.35, 46.49)
CIE-LCHlch(57.74, 72.28, 139.97°)
OKLaboklab(61.75% -0.1495 0.1068)
OKLCHoklch(61.75% 0.184 144.5)
XYZxyz(13.7514, 25.6850, 7.1381)
Luminance0.2569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A031 #A02190
analogous
#50A021 #21A031 #21A070
triadic
#21A031 #3121A0 #A03121
tetradic
#21A031 #2150A0 #A02190 #A07021
square
#21A031 #2150A0 #A02190 #A07021
split-complementary
#21A031 #7021A0 #A02150
monochromatic
#0C3B12 #176D21 #21A031 #2BD341 #5EDE6E

Accessibility & contrast

On white

3.42
#21A031 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#21A031 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A031
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A031#FFFFFF#000000##000000
##21A0311.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39121
Deuteranopia (green-blind)
#95873C
Tritanopia (blue-blind)
#009C8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #21a031;
/* rgb */ color: rgb(33, 160, 49);
/* oklch */ color: oklch(61.7% 0.184 144.5);
Tailwind
colors: {
  custom: {
    50: '#74bd6f',
    500: '#21a031',
    950: '#000000',
  },
}
SCSS
$custom: #21a031;
$custom-light: #74bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#21a031",
  "rgb": {
    "r": 33,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 127.559,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61746,
    "c": 0.18375,
    "h": 144.5
  },
  "luminance": 0.25687
}

Semantic roles & 50–950 ramp

primary
#21A031
secondary
#C25BB5
accent
#3FD3E9
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #21A031

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

Preview Lab → · Contrast checker → · Palette generator →

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