#21772F#21772F

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

Color values

HEX#21772F
RGBrgb(33, 119, 47)
HSLhsl(130, 57%, 30%)
HSVhsv(130, 72%, 47%)
CMYKcmyk(72.3%, 0%, 60.5%, 53.3%)
CIE-LABlab(43.83, -41.20, 31.87)
CIE-LCHlch(43.83, 52.09, 142.27°)
OKLaboklab(50.21% -0.1112 0.0755)
OKLCHoklch(50.21% 0.134 145.8)
XYZxyz(7.7366, 13.7214, 4.9295)
Luminance0.1372 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21772F #772169
analogous
#3E7721 #21772F #21775A
triadic
#21772F #2F2177 #772F21
tetradic
#21772F #213E77 #772169 #775A21
square
#21772F #213E77 #772169 #775A21
split-complementary
#21772F #5A2177 #77213E
monochromatic
#071809 #14471C #21772F #2EA742 #47CC5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21772F#FFFFFF#000000##FFFFFF
##21772F1.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)
#796C28
Deuteranopia (green-blind)
#6F6535
Tritanopia (blue-blind)
#007467
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #21772f;
/* rgb */ color: rgb(33, 119, 47);
/* oklch */ color: oklch(50.2% 0.134 145.8);
Tailwind
colors: {
  custom: {
    50: '#699f6a',
    500: '#21772f',
    950: '#000000',
  },
}
SCSS
$custom: #21772f;
$custom-light: #699f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#21772f",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 47
  },
  "hsl": {
    "h": 129.767,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50205,
    "c": 0.13442,
    "h": 145.8
  },
  "luminance": 0.13722
}

Semantic roles & 50–950 ramp

primary
#21772F
secondary
#AA4A9A
accent
#48C7E0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #21772F

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

Preview Lab → · Contrast checker → · Palette generator →

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