#217A4D#217A4D

#217A4D is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.6% C 0.109 H 156.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#217A4D
RGBrgb(33, 122, 77)
HSLhsl(150, 57%, 30%)
HSVhsv(150, 73%, 48%)
CMYKcmyk(73%, 0%, 36.9%, 52.2%)
CIE-LABlab(45.33, -37.08, 17.34)
CIE-LCHlch(45.33, 40.93, 154.94°)
OKLaboklab(51.59% -0.1004 0.0436)
OKLCHoklch(51.59% 0.109 156.5)
XYZxyz(8.9254, 14.7772, 9.4016)
Luminance0.1478 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A4D #7A214E
analogous
#217A21 #217A4D #217A79
triadic
#217A4D #4D217A #7A4D21
tetradic
#217A4D #21217A #7A214E #7A7921
square
#217A4D #21217A #7A214E #7A7921
split-complementary
#217A4D #79217A #7A2121
monochromatic
#071A10 #144A2F #217A4D #2EAA6B #48CD8A

Accessibility & contrast

On white

5.31
#217A4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#217A4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A4D
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A4D#FFFFFF#000000##FFFFFF
##217A4D1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79704A
Deuteranopia (green-blind)
#6E6850
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217a4d;
/* rgb */ color: rgb(33, 122, 77);
/* oklch */ color: oklch(51.6% 0.109 156.5);
Tailwind
colors: {
  custom: {
    50: '#69a17f',
    500: '#217a4d',
    950: '#000000',
  },
}
SCSS
$custom: #217a4d;
$custom-light: #69a17f;
$custom-dark: #000000;
JSON
{
  "hex": "#217a4d",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 77
  },
  "hsl": {
    "h": 149.663,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51593,
    "c": 0.10945,
    "h": 156.5
  },
  "luminance": 0.14778
}

Semantic roles & 50–950 ramp

primary
#217A4D
secondary
#AD4A7C
accent
#4795E1
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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