#217B4D#217B4D

#217B4D is a mid, moderate green. Relative luminance 0.150; OKLCH L 51.9% C 0.111 H 156.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#217B4D
RGBrgb(33, 123, 77)
HSLhsl(149, 58%, 31%)
HSVhsv(149, 73%, 48%)
CMYKcmyk(73.2%, 0%, 37.4%, 51.8%)
CIE-LABlab(45.67, -37.50, 17.80)
CIE-LCHlch(45.67, 41.51, 154.61°)
OKLaboklab(51.87% -0.1015 0.0447)
OKLCHoklch(51.87% 0.111 156.2)
XYZxyz(9.0489, 15.0241, 9.4428)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B4D #7B214F
analogous
#227B21 #217B4D #217B7A
triadic
#217B4D #4D217B #7B4D21
tetradic
#217B4D #21227B #7B214F #7B7A21
square
#217B4D #21227B #7B214F #7B7A21
split-complementary
#217B4D #7A217B #7B2122
monochromatic
#071A11 #144B2F #217B4D #2EAB6B #48CE8A

Accessibility & contrast

On white

5.24
#217B4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#217B4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B4D
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B4D#FFFFFF#000000##FFFFFF
##217B4D1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A714A
Deuteranopia (green-blind)
#6F6950
Tritanopia (blue-blind)
#007A6F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217b4d;
/* rgb */ color: rgb(33, 123, 77);
/* oklch */ color: oklch(51.9% 0.111 156.2);
Tailwind
colors: {
  custom: {
    50: '#6aa27f',
    500: '#217b4d',
    950: '#000000',
  },
}
SCSS
$custom: #217b4d;
$custom-light: #6aa27f;
$custom-dark: #000000;
JSON
{
  "hex": "#217b4d",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 77
  },
  "hsl": {
    "h": 149.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51873,
    "c": 0.11088,
    "h": 156.2
  },
  "luminance": 0.15025
}

Semantic roles & 50–950 ramp

primary
#217B4D
secondary
#AE4A7D
accent
#4796E1
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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