#21713E#21713E

#21713E is a mid, moderate green. Relative luminance 0.125; OKLCH L 48.7% C 0.111 H 151.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#21713E
RGBrgb(33, 113, 62)
HSLhsl(142, 55%, 29%)
HSVhsv(142, 71%, 44%)
CMYKcmyk(70.8%, 0%, 45.1%, 55.7%)
CIE-LABlab(41.97, -36.36, 21.48)
CIE-LCHlch(41.97, 42.23, 149.42°)
OKLaboklab(48.74% -0.098 0.053)
OKLCHoklch(48.74% 0.111 151.6)
XYZxyz(7.4012, 12.4806, 6.5754)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21713E #712154
analogous
#2C7121 #21713E #217166
triadic
#21713E #3E2171 #713E21
tetradic
#21713E #212C71 #712154 #716621
square
#21713E #212C71 #712154 #716621
split-complementary
#21713E #662171 #71212C
monochromatic
#07180D #134224 #21713E #2FA058 #44C874

Accessibility & contrast

On white

6.01
#21713E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21713E
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21713E#FFFFFF#000000##FFFFFF
##21713E1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21713e;
/* rgb */ color: rgb(33, 113, 62);
/* oklch */ color: oklch(48.7% 0.111 151.6);
Tailwind
colors: {
  custom: {
    50: '#679a74',
    500: '#21713e',
    950: '#000000',
  },
}
SCSS
$custom: #21713e;
$custom-light: #679a74;
$custom-dark: #000000;
JSON
{
  "hex": "#21713e",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 62
  },
  "hsl": {
    "h": 141.75,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48738,
    "c": 0.11147,
    "h": 151.6
  },
  "luminance": 0.12481
}

Semantic roles & 50–950 ramp

primary
#21713E
secondary
#A54983
accent
#4AA8DE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #21713E

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

Preview Lab → · Contrast checker → · Palette generator →

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