#21712E#21712E

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

Color values

HEX#21712E
RGBrgb(33, 113, 46)
HSLhsl(130, 55%, 29%)
HSVhsv(130, 71%, 44%)
CMYKcmyk(70.8%, 0%, 59.3%, 55.7%)
CIE-LABlab(41.74, -39.03, 29.92)
CIE-LCHlch(41.74, 49.18, 142.53°)
OKLaboklab(48.47% -0.1054 0.0712)
OKLCHoklch(48.47% 0.127 146)
XYZxyz(7.0250, 12.3301, 4.5940)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21712E #712164
analogous
#3C7121 #21712E #217156
triadic
#21712E #2E2171 #712E21
tetradic
#21712E #213C71 #712164 #715621
square
#21712E #213C71 #712164 #715621
split-complementary
#21712E #562171 #71213C
monochromatic
#07180A #13421B #21712E #2FA041 #44C85A

Accessibility & contrast

On white

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

On black

3.47
#21712E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##21712E#FFFFFF#000000##FFFFFF
##21712E1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736727
Deuteranopia (green-blind)
#696033
Tritanopia (blue-blind)
#056E62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #21712e;
/* rgb */ color: rgb(33, 113, 46);
/* oklch */ color: oklch(48.5% 0.127 146.0);
Tailwind
colors: {
  custom: {
    50: '#689b69',
    500: '#21712e',
    950: '#000000',
  },
}
SCSS
$custom: #21712e;
$custom-light: #689b69;
$custom-dark: #000000;
JSON
{
  "hex": "#21712e",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 46
  },
  "hsl": {
    "h": 129.75,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48468,
    "c": 0.12716,
    "h": 146
  },
  "luminance": 0.12331
}

Semantic roles & 50–950 ramp

primary
#21712E
secondary
#A54996
accent
#4AC6DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #21712E

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

Preview Lab → · Contrast checker → · Palette generator →

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