#21712D#21712D

#21712D is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.128 H 145.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#21712D
RGBrgb(33, 113, 45)
HSLhsl(129, 55%, 29%)
HSVhsv(129, 71%, 44%)
CMYKcmyk(70.8%, 0%, 60.2%, 55.7%)
CIE-LABlab(41.72, -39.17, 30.42)
CIE-LCHlch(41.72, 49.60, 142.17°)
OKLaboklab(48.45% -0.1058 0.0722)
OKLCHoklch(48.45% 0.128 145.7)
XYZxyz(7.0055, 12.3223, 4.4914)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21712D #712165
analogous
#3D7121 #21712D #217155
triadic
#21712D #2D2171 #712D21
tetradic
#21712D #213D71 #712165 #715521
square
#21712D #213D71 #712165 #715521
split-complementary
#21712D #552171 #71213D
monochromatic
#071809 #13421A #21712D #2FA040 #44C858

Accessibility & contrast

On white

6.06
#21712D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#21712D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21712D
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21712D#FFFFFF#000000##FFFFFF
##21712D1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736626
Deuteranopia (green-blind)
#696032
Tritanopia (blue-blind)
#066E62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #21712d;
/* rgb */ color: rgb(33, 113, 45);
/* oklch */ color: oklch(48.5% 0.128 145.7);
Tailwind
colors: {
  custom: {
    50: '#689b68',
    500: '#21712d',
    950: '#000000',
  },
}
SCSS
$custom: #21712d;
$custom-light: #689b68;
$custom-dark: #000000;
JSON
{
  "hex": "#21712d",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 45
  },
  "hsl": {
    "h": 129,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48454,
    "c": 0.12807,
    "h": 145.7
  },
  "luminance": 0.12323
}

Semantic roles & 50–950 ramp

primary
#21712D
secondary
#A54997
accent
#4AC8DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #21712D

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

Preview Lab → · Contrast checker → · Palette generator →

#21712D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva