#217A3A#217A3A

#217A3A is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.128 H 148.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#217A3A
RGBrgb(33, 122, 58)
HSLhsl(137, 57%, 30%)
HSVhsv(137, 73%, 48%)
CMYKcmyk(73%, 0%, 52.5%, 52.2%)
CIE-LABlab(45.01, -40.69, 27.54)
CIE-LCHlch(45.01, 49.14, 145.91°)
OKLaboklab(51.22% -0.1096 0.0667)
OKLCHoklch(51.22% 0.128 148.7)
XYZxyz(8.3498, 14.5470, 6.3700)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A3A #7A2161
analogous
#347A21 #217A3A #217A66
triadic
#217A3A #3A217A #7A3A21
tetradic
#217A3A #21347A #7A2161 #7A6621
square
#217A3A #21347A #7A2161 #7A6621
split-complementary
#217A3A #66217A #7A2134
monochromatic
#071A0C #144A23 #217A3A #2EAA51 #48CD6D

Accessibility & contrast

On white

5.37
#217A3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#217A3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A3A
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A3A#FFFFFF#000000##FFFFFF
##217A3A1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F35
Deuteranopia (green-blind)
#70683F
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217a3a;
/* rgb */ color: rgb(33, 122, 58);
/* oklch */ color: oklch(51.2% 0.128 148.7);
Tailwind
colors: {
  custom: {
    50: '#6aa171',
    500: '#217a3a',
    950: '#000000',
  },
}
SCSS
$custom: #217a3a;
$custom-light: #6aa171;
$custom-dark: #000000;
JSON
{
  "hex": "#217a3a",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 58
  },
  "hsl": {
    "h": 136.854,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51224,
    "c": 0.12827,
    "h": 148.7
  },
  "luminance": 0.14548
}

Semantic roles & 50–950 ramp

primary
#217A3A
secondary
#AD4A91
accent
#47B6E1
background
#F6FAF6
surface
#ECF3EC
border
#C7CDC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217A3A

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

Preview Lab → · Contrast checker → · Palette generator →

#217A3A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva