#217A4C#217A4C

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

Color values

HEX#217A4C
RGBrgb(33, 122, 76)
HSLhsl(149, 57%, 30%)
HSVhsv(149, 73%, 48%)
CMYKcmyk(73%, 0%, 37.7%, 52.2%)
CIE-LABlab(45.31, -37.29, 17.89)
CIE-LCHlch(45.31, 41.36, 154.37°)
OKLaboklab(51.57% -0.1009 0.0449)
OKLCHoklch(51.57% 0.11 156)
XYZxyz(8.8904, 14.7632, 9.2171)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A4C #7A214F
analogous
#227A21 #217A4C #217A78
triadic
#217A4C #4C217A #7A4C21
tetradic
#217A4C #21227A #7A214F #7A7821
square
#217A4C #21227A #7A214F #7A7821
split-complementary
#217A4C #78217A #7A2122
monochromatic
#071A10 #144A2E #217A4C #2EAA6A #48CD88

Accessibility & contrast

On white

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

On black

3.95
#217A4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##217A4C#FFFFFF#000000##FFFFFF
##217A4C1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797049
Deuteranopia (green-blind)
#6E684F
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217a4c;
/* rgb */ color: rgb(33, 122, 76);
/* oklch */ color: oklch(51.6% 0.110 156.0);
Tailwind
colors: {
  custom: {
    50: '#69a17e',
    500: '#217a4c',
    950: '#000000',
  },
}
SCSS
$custom: #217a4c;
$custom-light: #69a17e;
$custom-dark: #000000;
JSON
{
  "hex": "#217a4c",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 76
  },
  "hsl": {
    "h": 148.989,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51571,
    "c": 0.11043,
    "h": 156
  },
  "luminance": 0.14764
}

Semantic roles & 50–950 ramp

primary
#217A4C
secondary
#AD4A7D
accent
#4796E1
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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