#21773C#21773C

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

Color values

HEX#21773C
RGBrgb(33, 119, 60)
HSLhsl(139, 57%, 30%)
HSVhsv(139, 72%, 47%)
CMYKcmyk(72.3%, 0%, 49.6%, 53.3%)
CIE-LABlab(44.01, -39.17, 25.20)
CIE-LCHlch(44.01, 46.58, 147.24°)
OKLaboklab(50.41% -0.1055 0.0615)
OKLCHoklch(50.41% 0.122 149.7)
XYZxyz(8.0390, 13.8423, 6.5223)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21773C #77215C
analogous
#317721 #21773C #217767
triadic
#21773C #3C2177 #773C21
tetradic
#21773C #213177 #77215C #776721
square
#21773C #213177 #77215C #776721
split-complementary
#21773C #672177 #772131
monochromatic
#07180C #144724 #21773C #2EA754 #47CC70

Accessibility & contrast

On white

5.57
#21773C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21773C
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21773C#FFFFFF#000000##FFFFFF
##21773C1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21773c;
/* rgb */ color: rgb(33, 119, 60);
/* oklch */ color: oklch(50.4% 0.122 149.7);
Tailwind
colors: {
  custom: {
    50: '#699f73',
    500: '#21773c',
    950: '#000000',
  },
}
SCSS
$custom: #21773c;
$custom-light: #699f73;
$custom-dark: #000000;
JSON
{
  "hex": "#21773c",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 60
  },
  "hsl": {
    "h": 138.837,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50407,
    "c": 0.12212,
    "h": 149.7
  },
  "luminance": 0.13843
}

Semantic roles & 50–950 ramp

primary
#21773C
secondary
#AA4A8C
accent
#48B0E0
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #21773C

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

Preview Lab → · Contrast checker → · Palette generator →

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