#217A4B#217A4B

#217A4B is a mid, moderate green. Relative luminance 0.147; OKLCH L 51.5% C 0.111 H 155.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#217A4B
RGBrgb(33, 122, 75)
HSLhsl(148, 57%, 30%)
HSVhsv(148, 73%, 48%)
CMYKcmyk(73%, 0%, 38.5%, 52.2%)
CIE-LABlab(45.29, -37.50, 18.44)
CIE-LCHlch(45.29, 41.79, 153.82°)
OKLaboklab(51.55% -0.1014 0.0462)
OKLCHoklch(51.55% 0.111 155.5)
XYZxyz(8.8559, 14.7494, 9.0354)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A4B #7A2150
analogous
#237A21 #217A4B #217A77
triadic
#217A4B #4B217A #7A4B21
tetradic
#217A4B #21237A #7A2150 #7A7721
square
#217A4B #21237A #7A2150 #7A7721
split-complementary
#217A4B #77217A #7A2123
monochromatic
#071A10 #144A2D #217A4B #2EAA69 #48CD87

Accessibility & contrast

On white

5.32
#217A4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217A4B
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A4B#FFFFFF#000000##FFFFFF
##217A4B1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217a4b;
/* rgb */ color: rgb(33, 122, 75);
/* oklch */ color: oklch(51.5% 0.111 155.5);
Tailwind
colors: {
  custom: {
    50: '#69a17d',
    500: '#217a4b',
    950: '#000000',
  },
}
SCSS
$custom: #217a4b;
$custom-light: #69a17d;
$custom-dark: #000000;
JSON
{
  "hex": "#217a4b",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 75
  },
  "hsl": {
    "h": 148.315,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51549,
    "c": 0.11143,
    "h": 155.5
  },
  "luminance": 0.1475
}

Semantic roles & 50–950 ramp

primary
#217A4B
secondary
#AD4A7E
accent
#4798E1
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #217A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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