#21772E#21772E

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

Color values

HEX#21772E
RGBrgb(33, 119, 46)
HSLhsl(129, 57%, 30%)
HSVhsv(129, 72%, 47%)
CMYKcmyk(72.3%, 0%, 61.3%, 53.3%)
CIE-LABlab(43.82, -41.34, 32.36)
CIE-LCHlch(43.82, 52.50, 141.94°)
OKLaboklab(50.19% -0.1116 0.0765)
OKLCHoklch(50.19% 0.135 145.6)
XYZxyz(7.7166, 13.7134, 4.8245)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21772E #77216A
analogous
#3F7721 #21772E #217759
triadic
#21772E #2E2177 #772E21
tetradic
#21772E #213F77 #77216A #775921
square
#21772E #213F77 #77216A #775921
split-complementary
#21772E #592177 #77213F
monochromatic
#071809 #14471B #21772E #2EA741 #47CC5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21772E#FFFFFF#000000##FFFFFF
##21772E1.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)
#796C26
Deuteranopia (green-blind)
#6F6534
Tritanopia (blue-blind)
#007467
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #21772e;
/* rgb */ color: rgb(33, 119, 46);
/* oklch */ color: oklch(50.2% 0.135 145.6);
Tailwind
colors: {
  custom: {
    50: '#699f69',
    500: '#21772e',
    950: '#000000',
  },
}
SCSS
$custom: #21772e;
$custom-light: #699f69;
$custom-dark: #000000;
JSON
{
  "hex": "#21772e",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 46
  },
  "hsl": {
    "h": 129.07,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50191,
    "c": 0.1353,
    "h": 145.6
  },
  "luminance": 0.13714
}

Semantic roles & 50–950 ramp

primary
#21772E
secondary
#AA4A9C
accent
#48C9E0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #21772E

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

Preview Lab → · Contrast checker → · Palette generator →

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