#217B4A#217B4A

#217B4A is a mid, moderate green. Relative luminance 0.150; OKLCH L 51.8% C 0.114 H 154.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#217B4A
RGBrgb(33, 123, 74)
HSLhsl(147, 58%, 31%)
HSVhsv(147, 73%, 48%)
CMYKcmyk(73.2%, 0%, 39.8%, 51.8%)
CIE-LABlab(45.61, -38.13, 19.44)
CIE-LCHlch(45.61, 42.80, 152.99°)
OKLaboklab(51.81% -0.103 0.0485)
OKLCHoklch(51.81% 0.114 154.8)
XYZxyz(8.9454, 14.9827, 8.8977)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B4A #7B2152
analogous
#257B21 #217B4A #217B77
triadic
#217B4A #4A217B #7B4A21
tetradic
#217B4A #21257B #7B2152 #7B7721
square
#217B4A #21257B #7B2152 #7B7721
split-complementary
#217B4A #77217B #7B2125
monochromatic
#071A10 #144B2D #217B4A #2EAB67 #48CE85

Accessibility & contrast

On white

5.25
#217B4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217B4A
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B4A#FFFFFF#000000##FFFFFF
##217B4A1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217b4a;
/* rgb */ color: rgb(33, 123, 74);
/* oklch */ color: oklch(51.8% 0.114 154.8);
Tailwind
colors: {
  custom: {
    50: '#6aa27d',
    500: '#217b4a',
    950: '#000000',
  },
}
SCSS
$custom: #217b4a;
$custom-light: #6aa27d;
$custom-dark: #000000;
JSON
{
  "hex": "#217b4a",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 74
  },
  "hsl": {
    "h": 147.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51807,
    "c": 0.11385,
    "h": 154.8
  },
  "luminance": 0.14984
}

Semantic roles & 50–950 ramp

primary
#217B4A
secondary
#AE4A80
accent
#479BE1
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #217B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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