#217A45#217A45

#217A45 is a mid, moderate green. Relative luminance 0.147; OKLCH L 51.4% C 0.117 H 152.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#217A45
RGBrgb(33, 122, 69)
HSLhsl(144, 57%, 30%)
HSVhsv(144, 73%, 48%)
CMYKcmyk(73%, 0%, 43.4%, 52.2%)
CIE-LABlab(45.18, -38.72, 21.70)
CIE-LCHlch(45.18, 44.38, 150.73°)
OKLaboklab(51.42% -0.1044 0.0538)
OKLCHoklch(51.42% 0.117 152.7)
XYZxyz(8.6602, 14.6711, 8.0045)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A45 #7A2156
analogous
#297A21 #217A45 #217A71
triadic
#217A45 #45217A #7A4521
tetradic
#217A45 #21297A #7A2156 #7A7121
square
#217A45 #21297A #7A2156 #7A7121
split-complementary
#217A45 #71217A #7A2129
monochromatic
#071A0F #144A2A #217A45 #2EAA60 #48CD7E

Accessibility & contrast

On white

5.34
#217A45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#217A45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A45
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A45#FFFFFF#000000##FFFFFF
##217A451.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7041
Deuteranopia (green-blind)
#6F6849
Tritanopia (blue-blind)
#00786D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217a45;
/* rgb */ color: rgb(33, 122, 69);
/* oklch */ color: oklch(51.4% 0.117 152.7);
Tailwind
colors: {
  custom: {
    50: '#69a179',
    500: '#217a45',
    950: '#000000',
  },
}
SCSS
$custom: #217a45;
$custom-light: #69a179;
$custom-dark: #000000;
JSON
{
  "hex": "#217a45",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 69
  },
  "hsl": {
    "h": 144.27,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51424,
    "c": 0.11742,
    "h": 152.7
  },
  "luminance": 0.14672
}

Semantic roles & 50–950 ramp

primary
#217A45
secondary
#AD4A85
accent
#47A3E1
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #217A45

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

Preview Lab → · Contrast checker → · Palette generator →

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