#217B4B#217B4B

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

Color values

HEX#217B4B
RGBrgb(33, 123, 75)
HSLhsl(148, 58%, 31%)
HSVhsv(148, 73%, 48%)
CMYKcmyk(73.2%, 0%, 39%, 51.8%)
CIE-LABlab(45.63, -37.92, 18.89)
CIE-LCHlch(45.63, 42.36, 153.52°)
OKLaboklab(51.83% -0.1025 0.0473)
OKLCHoklch(51.83% 0.113 155.2)
XYZxyz(8.9793, 14.9962, 9.0766)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B4B #7B2151
analogous
#247B21 #217B4B #217B78
triadic
#217B4B #4B217B #7B4B21
tetradic
#217B4B #21247B #7B2151 #7B7821
square
#217B4B #21247B #7B2151 #7B7821
split-complementary
#217B4B #78217B #7B2124
monochromatic
#071A10 #144B2E #217B4B #2EAB68 #48CE87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217B4B#FFFFFF#000000##FFFFFF
##217B4B1.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)
#7B7148
Deuteranopia (green-blind)
#6F694E
Tritanopia (blue-blind)
#007A6F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217b4b;
/* rgb */ color: rgb(33, 123, 75);
/* oklch */ color: oklch(51.8% 0.113 155.2);
Tailwind
colors: {
  custom: {
    50: '#6aa27d',
    500: '#217b4b',
    950: '#000000',
  },
}
SCSS
$custom: #217b4b;
$custom-light: #6aa27d;
$custom-dark: #000000;
JSON
{
  "hex": "#217b4b",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 75
  },
  "hsl": {
    "h": 148,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51829,
    "c": 0.11286,
    "h": 155.2
  },
  "luminance": 0.14997
}

Semantic roles & 50–950 ramp

primary
#217B4B
secondary
#AE4A7F
accent
#4799E1
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #217B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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