#21713B#21713B

#21713B is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.7% C 0.115 H 150.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#21713B
RGBrgb(33, 113, 59)
HSLhsl(140, 55%, 29%)
HSVhsv(140, 71%, 44%)
CMYKcmyk(70.8%, 0%, 47.8%, 55.7%)
CIE-LABlab(41.92, -36.92, 23.11)
CIE-LCHlch(41.92, 43.55, 147.95°)
OKLaboklab(48.68% -0.0995 0.0567)
OKLCHoklch(48.68% 0.115 150.3)
XYZxyz(7.3212, 12.4486, 6.1538)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21713B #712157
analogous
#2F7121 #21713B #217163
triadic
#21713B #3B2171 #713B21
tetradic
#21713B #212F71 #712157 #716321
square
#21713B #212F71 #712157 #716321
split-complementary
#21713B #632171 #71212F
monochromatic
#07180C #134222 #21713B #2FA054 #44C86F

Accessibility & contrast

On white

6.02
#21713B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#21713B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21713B
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21713B#FFFFFF#000000##FFFFFF
##21713B1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726737
Deuteranopia (green-blind)
#68603F
Tritanopia (blue-blind)
#006F64
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #21713b;
/* rgb */ color: rgb(33, 113, 59);
/* oklch */ color: oklch(48.7% 0.115 150.3);
Tailwind
colors: {
  custom: {
    50: '#689b72',
    500: '#21713b',
    950: '#000000',
  },
}
SCSS
$custom: #21713b;
$custom-light: #689b72;
$custom-dark: #000000;
JSON
{
  "hex": "#21713b",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 59
  },
  "hsl": {
    "h": 139.5,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4868,
    "c": 0.11452,
    "h": 150.3
  },
  "luminance": 0.12449
}

Semantic roles & 50–950 ramp

primary
#21713B
secondary
#A54987
accent
#4AAEDE
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #21713B

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

Preview Lab → · Contrast checker → · Palette generator →

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