#21772B#21772B

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

Color values

HEX#21772B
RGBrgb(33, 119, 43)
HSLhsl(127, 57%, 30%)
HSVhsv(127, 72%, 47%)
CMYKcmyk(72.3%, 0%, 63.9%, 53.3%)
CIE-LABlab(43.79, -41.73, 33.81)
CIE-LCHlch(43.79, 53.71, 140.99°)
OKLaboklab(50.15% -0.1128 0.0793)
OKLCHoklch(50.15% 0.138 144.9)
XYZxyz(7.6596, 13.6906, 4.5239)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21772B #77216D
analogous
#427721 #21772B #217756
triadic
#21772B #2B2177 #772B21
tetradic
#21772B #214277 #77216D #775621
square
#21772B #214277 #77216D #775621
split-complementary
#21772B #562177 #772142
monochromatic
#071809 #14471A #21772B #2EA73C #47CC56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21772B#FFFFFF#000000##FFFFFF
##21772B1.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)
#796C23
Deuteranopia (green-blind)
#6F6531
Tritanopia (blue-blind)
#027467
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #21772b;
/* rgb */ color: rgb(33, 119, 43);
/* oklch */ color: oklch(50.2% 0.138 144.9);
Tailwind
colors: {
  custom: {
    50: '#6a9f67',
    500: '#21772b',
    950: '#000000',
  },
}
SCSS
$custom: #21772b;
$custom-light: #6a9f67;
$custom-dark: #000000;
JSON
{
  "hex": "#21772b",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 43
  },
  "hsl": {
    "h": 126.977,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50153,
    "c": 0.13789,
    "h": 144.9
  },
  "luminance": 0.13691
}

Semantic roles & 50–950 ramp

primary
#21772B
secondary
#AA4A9F
accent
#48CEE0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #21772B

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

Preview Lab → · Contrast checker → · Palette generator →

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