#217F4D#217F4D

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

Color values

HEX#217F4D
RGBrgb(33, 127, 77)
HSLhsl(148, 59%, 31%)
HSVhsv(148, 74%, 50%)
CMYKcmyk(74%, 0%, 39.4%, 50.2%)
CIE-LABlab(47.02, -39.16, 19.61)
CIE-LCHlch(47.02, 43.79, 153.40°)
OKLaboklab(52.99% -0.1058 0.049)
OKLCHoklch(52.99% 0.117 155.1)
XYZxyz(9.5552, 16.0368, 9.6116)
Luminance0.1604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F4D #7F2153
analogous
#247F21 #217F4D #217F7C
triadic
#217F4D #4D217F #7F4D21
tetradic
#217F4D #21247F #7F2153 #7F7C21
square
#217F4D #21247F #7F2153 #7F7C21
split-complementary
#217F4D #7C217F #7F2124
monochromatic
#081E12 #144E30 #217F4D #2EB06A #4AD089

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217F4D#FFFFFF#000000##FFFFFF
##217F4D1.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)
#7F744A
Deuteranopia (green-blind)
#736C50
Tritanopia (blue-blind)
#007E72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217f4d;
/* rgb */ color: rgb(33, 127, 77);
/* oklch */ color: oklch(53.0% 0.117 155.1);
Tailwind
colors: {
  custom: {
    50: '#6aa57f',
    500: '#217f4d',
    950: '#000000',
  },
}
SCSS
$custom: #217f4d;
$custom-light: #6aa57f;
$custom-dark: #000000;
JSON
{
  "hex": "#217f4d",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 77
  },
  "hsl": {
    "h": 148.085,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52989,
    "c": 0.11659,
    "h": 155.1
  },
  "luminance": 0.16038
}

Semantic roles & 50–950 ramp

primary
#217F4D
secondary
#B24A81
accent
#4699E2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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