#217F4C#217F4C

#217F4C is a mid, moderate green. Relative luminance 0.160; OKLCH L 53.0% C 0.118 H 154.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#217F4C
RGBrgb(33, 127, 76)
HSLhsl(147, 59%, 31%)
HSVhsv(147, 74%, 50%)
CMYKcmyk(74%, 0%, 40.2%, 50.2%)
CIE-LABlab(47.00, -39.37, 20.15)
CIE-LCHlch(47.00, 44.22, 152.89°)
OKLaboklab(52.97% -0.1063 0.0503)
OKLCHoklch(52.97% 0.118 154.7)
XYZxyz(9.5202, 16.0228, 9.4270)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F4C #7F2154
analogous
#257F21 #217F4C #217F7B
triadic
#217F4C #4C217F #7F4C21
tetradic
#217F4C #21257F #7F2154 #7F7B21
square
#217F4C #21257F #7F2154 #7F7B21
split-complementary
#217F4C #7B217F #7F2125
monochromatic
#081E12 #144E2F #217F4C #2EB069 #4AD088

Accessibility & contrast

On white

4.99
#217F4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#217F4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F4C
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F4C#FFFFFF#000000##FFFFFF
##217F4C1.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7449
Deuteranopia (green-blind)
#736C4F
Tritanopia (blue-blind)
#007E72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217f4c;
/* rgb */ color: rgb(33, 127, 76);
/* oklch */ color: oklch(53.0% 0.118 154.7);
Tailwind
colors: {
  custom: {
    50: '#6aa57e',
    500: '#217f4c',
    950: '#000000',
  },
}
SCSS
$custom: #217f4c;
$custom-light: #6aa57e;
$custom-dark: #000000;
JSON
{
  "hex": "#217f4c",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 76
  },
  "hsl": {
    "h": 147.447,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52968,
    "c": 0.11757,
    "h": 154.7
  },
  "luminance": 0.16024
}

Semantic roles & 50–950 ramp

primary
#217F4C
secondary
#B24A82
accent
#469BE2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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