#21773A#21773A

#21773A is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.4% C 0.124 H 149.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#21773A
RGBrgb(33, 119, 58)
HSLhsl(137, 57%, 30%)
HSVhsv(137, 72%, 47%)
CMYKcmyk(72.3%, 0%, 51.3%, 53.3%)
CIE-LABlab(43.98, -39.51, 26.26)
CIE-LCHlch(43.98, 47.44, 146.39°)
OKLaboklab(50.37% -0.1064 0.0638)
OKLCHoklch(50.37% 0.124 149.1)
XYZxyz(7.9871, 13.8216, 6.2491)
Luminance0.1382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21773A #77215E
analogous
#337721 #21773A #217765
triadic
#21773A #3A2177 #773A21
tetradic
#21773A #213377 #77215E #776521
square
#21773A #213377 #77215E #776521
split-complementary
#21773A #652177 #772133
monochromatic
#07180C #144723 #21773A #2EA751 #47CC6D

Accessibility & contrast

On white

5.58
#21773A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#21773A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21773A
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21773A#FFFFFF#000000##FFFFFF
##21773A1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786C35
Deuteranopia (green-blind)
#6E653E
Tritanopia (blue-blind)
#007569
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #21773a;
/* rgb */ color: rgb(33, 119, 58);
/* oklch */ color: oklch(50.4% 0.124 149.1);
Tailwind
colors: {
  custom: {
    50: '#699f71',
    500: '#21773a',
    950: '#000000',
  },
}
SCSS
$custom: #21773a;
$custom-light: #699f71;
$custom-dark: #000000;
JSON
{
  "hex": "#21773a",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 58
  },
  "hsl": {
    "h": 137.442,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50372,
    "c": 0.12408,
    "h": 149.1
  },
  "luminance": 0.13822
}

Semantic roles & 50–950 ramp

primary
#21773A
secondary
#AA4A8E
accent
#48B4E0
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #21773A

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

Preview Lab → · Contrast checker → · Palette generator →

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