#217F4B#217F4B

#217F4B is a mid, moderate green. Relative luminance 0.160; OKLCH L 52.9% C 0.119 H 154.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#217F4B
RGBrgb(33, 127, 75)
HSLhsl(147, 59%, 31%)
HSVhsv(147, 74%, 50%)
CMYKcmyk(74%, 0%, 40.9%, 50.2%)
CIE-LABlab(46.99, -39.57, 20.69)
CIE-LCHlch(46.99, 44.65, 152.39°)
OKLaboklab(52.95% -0.1068 0.0516)
OKLCHoklch(52.95% 0.119 154.2)
XYZxyz(9.4857, 16.0090, 9.2454)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F4B #7F2155
analogous
#267F21 #217F4B #217F7A
triadic
#217F4B #4B217F #7F4B21
tetradic
#217F4B #21267F #7F2155 #7F7A21
square
#217F4B #21267F #7F2155 #7F7A21
split-complementary
#217F4B #7A217F #7F2126
monochromatic
#081E12 #144E2E #217F4B #2EB068 #4AD086

Accessibility & contrast

On white

5.00
#217F4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217F4B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F4B#FFFFFF#000000##FFFFFF
##217F4B1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7447
Deuteranopia (green-blind)
#736C4E
Tritanopia (blue-blind)
#007D72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217f4b;
/* rgb */ color: rgb(33, 127, 75);
/* oklch */ color: oklch(52.9% 0.119 154.2);
Tailwind
colors: {
  custom: {
    50: '#6aa57e',
    500: '#217f4b',
    950: '#000000',
  },
}
SCSS
$custom: #217f4b;
$custom-light: #6aa57e;
$custom-dark: #000000;
JSON
{
  "hex": "#217f4b",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 75
  },
  "hsl": {
    "h": 146.809,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52947,
    "c": 0.11856,
    "h": 154.2
  },
  "luminance": 0.1601
}

Semantic roles & 50–950 ramp

primary
#217F4B
secondary
#B24A83
accent
#469CE2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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