#21712F#21712F

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

Color values

HEX#21712F
RGBrgb(33, 113, 47)
HSLhsl(131, 55%, 29%)
HSVhsv(131, 71%, 44%)
CMYKcmyk(70.8%, 0%, 58.4%, 55.7%)
CIE-LABlab(41.75, -38.89, 29.41)
CIE-LCHlch(41.75, 48.76, 142.90°)
OKLaboklab(48.48% -0.105 0.0701)
OKLCHoklch(48.48% 0.126 146.3)
XYZxyz(7.0449, 12.3381, 4.6990)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21712F #712163
analogous
#3B7121 #21712F #217157
triadic
#21712F #2F2171 #712F21
tetradic
#21712F #213B71 #712163 #715721
square
#21712F #213B71 #712163 #715721
split-complementary
#21712F #572171 #71213B
monochromatic
#07180A #13421B #21712F #2FA043 #44C85B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21712F#FFFFFF#000000##FFFFFF
##21712F1.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)
#736729
Deuteranopia (green-blind)
#696034
Tritanopia (blue-blind)
#046E62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #21712f;
/* rgb */ color: rgb(33, 113, 47);
/* oklch */ color: oklch(48.5% 0.126 146.3);
Tailwind
colors: {
  custom: {
    50: '#689b69',
    500: '#21712f',
    950: '#000000',
  },
}
SCSS
$custom: #21712f;
$custom-light: #689b69;
$custom-dark: #000000;
JSON
{
  "hex": "#21712f",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 47
  },
  "hsl": {
    "h": 130.5,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48483,
    "c": 0.12623,
    "h": 146.3
  },
  "luminance": 0.12339
}

Semantic roles & 50–950 ramp

primary
#21712F
secondary
#A54995
accent
#4AC4DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #21712F

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

Preview Lab → · Contrast checker → · Palette generator →

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