#21773B#21773B

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

Color values

HEX#21773B
RGBrgb(33, 119, 59)
HSLhsl(138, 57%, 30%)
HSVhsv(138, 72%, 47%)
CMYKcmyk(72.3%, 0%, 50.4%, 53.3%)
CIE-LABlab(43.99, -39.34, 25.73)
CIE-LCHlch(43.99, 47.01, 146.81°)
OKLaboklab(50.39% -0.1059 0.0627)
OKLCHoklch(50.39% 0.123 149.4)
XYZxyz(8.0128, 13.8319, 6.3844)
Luminance0.1383 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21773B #77215D
analogous
#327721 #21773B #217766
triadic
#21773B #3B2177 #773B21
tetradic
#21773B #213277 #77215D #776621
square
#21773B #213277 #77215D #776621
split-complementary
#21773B #662177 #772132
monochromatic
#07180C #144723 #21773B #2EA753 #47CC6F

Accessibility & contrast

On white

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

On black

3.77
#21773B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##21773B#FFFFFF#000000##FFFFFF
##21773B1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21773b;
/* rgb */ color: rgb(33, 119, 59);
/* oklch */ color: oklch(50.4% 0.123 149.4);
Tailwind
colors: {
  custom: {
    50: '#699f72',
    500: '#21773b',
    950: '#000000',
  },
}
SCSS
$custom: #21773b;
$custom-light: #699f72;
$custom-dark: #000000;
JSON
{
  "hex": "#21773b",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 59
  },
  "hsl": {
    "h": 138.14,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50389,
    "c": 0.1231,
    "h": 149.4
  },
  "luminance": 0.13833
}

Semantic roles & 50–950 ramp

primary
#21773B
secondary
#AA4A8D
accent
#48B2E0
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #21773B

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

Preview Lab → · Contrast checker → · Palette generator →

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