#217B48#217B48

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

Color values

HEX#217B48
RGBrgb(33, 123, 72)
HSLhsl(146, 58%, 31%)
HSVhsv(146, 73%, 48%)
CMYKcmyk(73.2%, 0%, 41.5%, 51.8%)
CIE-LABlab(45.57, -38.53, 20.52)
CIE-LCHlch(45.57, 43.66, 151.96°)
OKLaboklab(51.77% -0.104 0.0511)
OKLCHoklch(51.77% 0.116 153.8)
XYZxyz(8.8791, 14.9561, 8.5485)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B48 #7B2154
analogous
#277B21 #217B48 #217B75
triadic
#217B48 #48217B #7B4821
tetradic
#217B48 #21277B #7B2154 #7B7521
square
#217B48 #21277B #7B2154 #7B7521
split-complementary
#217B48 #75217B #7B2127
monochromatic
#071A10 #144B2C #217B48 #2EAB64 #48CE82

Accessibility & contrast

On white

5.26
#217B48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#217B48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B48
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B48#FFFFFF#000000##FFFFFF
##217B481.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7144
Deuteranopia (green-blind)
#70694B
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217b48;
/* rgb */ color: rgb(33, 123, 72);
/* oklch */ color: oklch(51.8% 0.116 153.8);
Tailwind
colors: {
  custom: {
    50: '#6aa27b',
    500: '#217b48',
    950: '#000000',
  },
}
SCSS
$custom: #217b48;
$custom-light: #6aa27b;
$custom-dark: #000000;
JSON
{
  "hex": "#217b48",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 72
  },
  "hsl": {
    "h": 146,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51765,
    "c": 0.11585,
    "h": 153.8
  },
  "luminance": 0.14957
}

Semantic roles & 50–950 ramp

primary
#217B48
secondary
#AE4A83
accent
#479EE1
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #217B48

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

Preview Lab → · Contrast checker → · Palette generator →

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