#21772D#21772D

#21772D is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.136 H 145.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#21772D
RGBrgb(33, 119, 45)
HSLhsl(128, 57%, 30%)
HSVhsv(128, 72%, 47%)
CMYKcmyk(72.3%, 0%, 62.2%, 53.3%)
CIE-LABlab(43.81, -41.47, 32.85)
CIE-LCHlch(43.81, 52.90, 141.62°)
OKLaboklab(50.18% -0.112 0.0774)
OKLCHoklch(50.18% 0.136 145.4)
XYZxyz(7.6972, 13.7056, 4.7219)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21772D #77216B
analogous
#407721 #21772D #217758
triadic
#21772D #2D2177 #772D21
tetradic
#21772D #214077 #77216B #775821
square
#21772D #214077 #77216B #775821
split-complementary
#21772D #582177 #772140
monochromatic
#071809 #14471B #21772D #2EA73F #47CC59

Accessibility & contrast

On white

5.61
#21772D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#21772D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21772D
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21772D#FFFFFF#000000##FFFFFF
##21772D1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C25
Deuteranopia (green-blind)
#6F6533
Tritanopia (blue-blind)
#017467
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #21772d;
/* rgb */ color: rgb(33, 119, 45);
/* oklch */ color: oklch(50.2% 0.136 145.4);
Tailwind
colors: {
  custom: {
    50: '#6a9f69',
    500: '#21772d',
    950: '#000000',
  },
}
SCSS
$custom: #21772d;
$custom-light: #6a9f69;
$custom-dark: #000000;
JSON
{
  "hex": "#21772d",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 45
  },
  "hsl": {
    "h": 128.372,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50178,
    "c": 0.13617,
    "h": 145.4
  },
  "luminance": 0.13706
}

Semantic roles & 50–950 ramp

primary
#21772D
secondary
#AA4A9D
accent
#48CBE0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #21772D

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

Preview Lab → · Contrast checker → · Palette generator →

#21772D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva