#21772C#21772C

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

Color values

HEX#21772C
RGBrgb(33, 119, 44)
HSLhsl(128, 57%, 30%)
HSVhsv(128, 72%, 47%)
CMYKcmyk(72.3%, 0%, 63%, 53.3%)
CIE-LABlab(43.80, -41.60, 33.33)
CIE-LCHlch(43.80, 53.31, 141.30°)
OKLaboklab(50.17% -0.1124 0.0784)
OKLCHoklch(50.17% 0.137 145.1)
XYZxyz(7.6781, 13.6980, 4.6217)
Luminance0.1370 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21772C #77216C
analogous
#417721 #21772C #217757
triadic
#21772C #2C2177 #772C21
tetradic
#21772C #214177 #77216C #775721
square
#21772C #214177 #77216C #775721
split-complementary
#21772C #572177 #772141
monochromatic
#071809 #14471A #21772C #2EA73E #47CC58

Accessibility & contrast

On white

5.62
#21772C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21772C
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21772C#FFFFFF#000000##FFFFFF
##21772C1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C24
Deuteranopia (green-blind)
#6F6532
Tritanopia (blue-blind)
#017467
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #21772c;
/* rgb */ color: rgb(33, 119, 44);
/* oklch */ color: oklch(50.2% 0.137 145.1);
Tailwind
colors: {
  custom: {
    50: '#6a9f68',
    500: '#21772c',
    950: '#000000',
  },
}
SCSS
$custom: #21772c;
$custom-light: #6a9f68;
$custom-dark: #000000;
JSON
{
  "hex": "#21772c",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 44
  },
  "hsl": {
    "h": 127.674,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50166,
    "c": 0.13703,
    "h": 145.1
  },
  "luminance": 0.13699
}

Semantic roles & 50–950 ramp

primary
#21772C
secondary
#AA4A9E
accent
#48CCE0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #21772C

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

Preview Lab → · Contrast checker → · Palette generator →

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