#217F4E#217F4E

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

Color values

HEX#217F4E
RGBrgb(33, 127, 78)
HSLhsl(149, 59%, 31%)
HSVhsv(149, 74%, 50%)
CMYKcmyk(74%, 0%, 38.6%, 50.2%)
CIE-LABlab(47.04, -38.95, 19.07)
CIE-LCHlch(47.04, 43.37, 153.92°)
OKLaboklab(53.01% -0.1053 0.0477)
OKLCHoklch(53.01% 0.116 155.6)
XYZxyz(9.5908, 16.0510, 9.7990)
Luminance0.1605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F4E #7F2152
analogous
#237F21 #217F4E #217F7D
triadic
#217F4E #4E217F #7F4E21
tetradic
#217F4E #21237F #7F2152 #7F7D21
square
#217F4E #21237F #7F2152 #7F7D21
split-complementary
#217F4E #7D217F #7F2123
monochromatic
#081E12 #144E30 #217F4E #2EB06C #4AD08A

Accessibility & contrast

On white

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

On black

4.21
#217F4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##217F4E#FFFFFF#000000##FFFFFF
##217F4E1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E744B
Deuteranopia (green-blind)
#736C51
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #217f4e;
/* rgb */ color: rgb(33, 127, 78);
/* oklch */ color: oklch(53.0% 0.116 155.6);
Tailwind
colors: {
  custom: {
    50: '#6aa580',
    500: '#217f4e',
    950: '#000000',
  },
}
SCSS
$custom: #217f4e;
$custom-light: #6aa580;
$custom-dark: #000000;
JSON
{
  "hex": "#217f4e",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 78
  },
  "hsl": {
    "h": 148.723,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53011,
    "c": 0.1156,
    "h": 155.6
  },
  "luminance": 0.16052
}

Semantic roles & 50–950 ramp

primary
#217F4E
secondary
#B24A80
accent
#4697E2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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