#21772A#21772A

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

Color values

HEX#21772A
RGBrgb(33, 119, 42)
HSLhsl(126, 57%, 30%)
HSVhsv(126, 72%, 47%)
CMYKcmyk(72.3%, 0%, 64.7%, 53.3%)
CIE-LABlab(43.78, -41.85, 34.28)
CIE-LCHlch(43.78, 54.10, 140.68°)
OKLaboklab(50.14% -0.1132 0.0802)
OKLCHoklch(50.14% 0.139 144.7)
XYZxyz(7.6414, 13.6833, 4.4285)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21772A #77216E
analogous
#437721 #21772A #217755
triadic
#21772A #2A2177 #772A21
tetradic
#21772A #214377 #77216E #775521
square
#21772A #214377 #77216E #775521
split-complementary
#21772A #552177 #772143
monochromatic
#071808 #144719 #21772A #2EA73B #47CC55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21772A#FFFFFF#000000##FFFFFF
##21772A1.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)
#796C21
Deuteranopia (green-blind)
#6F6531
Tritanopia (blue-blind)
#037467
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #21772a;
/* rgb */ color: rgb(33, 119, 42);
/* oklch */ color: oklch(50.1% 0.139 144.7);
Tailwind
colors: {
  custom: {
    50: '#6a9f67',
    500: '#21772a',
    950: '#000000',
  },
}
SCSS
$custom: #21772a;
$custom-light: #6a9f67;
$custom-dark: #000000;
JSON
{
  "hex": "#21772a",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 42
  },
  "hsl": {
    "h": 126.279,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50141,
    "c": 0.13872,
    "h": 144.7
  },
  "luminance": 0.13684
}

Semantic roles & 50–950 ramp

primary
#21772A
secondary
#AA4AA0
accent
#48D0E0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #21772A

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

Preview Lab → · Contrast checker → · Palette generator →

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