#21713F#21713F

#21713F is a mid, moderate green. Relative luminance 0.125; OKLCH L 48.8% C 0.110 H 152.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#21713F
RGBrgb(33, 113, 63)
HSLhsl(143, 55%, 29%)
HSVhsv(143, 71%, 44%)
CMYKcmyk(70.8%, 0%, 44.2%, 55.7%)
CIE-LABlab(41.99, -36.17, 20.94)
CIE-LCHlch(41.99, 41.79, 149.93°)
OKLaboklab(48.76% -0.0975 0.0518)
OKLCHoklch(48.76% 0.11 152)
XYZxyz(7.4289, 12.4917, 6.7213)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21713F #712153
analogous
#2B7121 #21713F #217167
triadic
#21713F #3F2171 #713F21
tetradic
#21713F #212B71 #712153 #716721
square
#21713F #212B71 #712153 #716721
split-complementary
#21713F #672171 #71212B
monochromatic
#07180D #134225 #21713F #2FA059 #44C876

Accessibility & contrast

On white

6.00
#21713F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#21713F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21713F
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21713F#FFFFFF#000000##FFFFFF
##21713F1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71673B
Deuteranopia (green-blind)
#676042
Tritanopia (blue-blind)
#006F65
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #21713f;
/* rgb */ color: rgb(33, 113, 63);
/* oklch */ color: oklch(48.8% 0.110 152.0);
Tailwind
colors: {
  custom: {
    50: '#679a74',
    500: '#21713f',
    950: '#000000',
  },
}
SCSS
$custom: #21713f;
$custom-light: #679a74;
$custom-dark: #000000;
JSON
{
  "hex": "#21713f",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 63
  },
  "hsl": {
    "h": 142.5,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48757,
    "c": 0.11045,
    "h": 152
  },
  "luminance": 0.12492
}

Semantic roles & 50–950 ramp

primary
#21713F
secondary
#A54982
accent
#4AA6DE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #21713F

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

Preview Lab → · Contrast checker → · Palette generator →

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