#217B45#217B45

#217B45 is a mid, moderate green. Relative luminance 0.149; OKLCH L 51.7% C 0.119 H 152.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#217B45
RGBrgb(33, 123, 69)
HSLhsl(144, 58%, 31%)
HSVhsv(144, 73%, 48%)
CMYKcmyk(73.2%, 0%, 43.9%, 51.8%)
CIE-LABlab(45.52, -39.12, 22.15)
CIE-LCHlch(45.52, 44.96, 150.49°)
OKLaboklab(51.71% -0.1054 0.0548)
OKLCHoklch(51.71% 0.119 152.5)
XYZxyz(8.7836, 14.9179, 8.0456)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B45 #7B2157
analogous
#2A7B21 #217B45 #217B72
triadic
#217B45 #45217B #7B4521
tetradic
#217B45 #212A7B #7B2157 #7B7221
square
#217B45 #212A7B #7B2157 #7B7221
split-complementary
#217B45 #72217B #7B212A
monochromatic
#071A0F #144B2A #217B45 #2EAB60 #48CE7E

Accessibility & contrast

On white

5.27
#217B45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#217B45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B45
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B45#FFFFFF#000000##FFFFFF
##217B451.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7041
Deuteranopia (green-blind)
#706949
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217b45;
/* rgb */ color: rgb(33, 123, 69);
/* oklch */ color: oklch(51.7% 0.119 152.5);
Tailwind
colors: {
  custom: {
    50: '#6aa279',
    500: '#217b45',
    950: '#000000',
  },
}
SCSS
$custom: #217b45;
$custom-light: #6aa279;
$custom-dark: #000000;
JSON
{
  "hex": "#217b45",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 69
  },
  "hsl": {
    "h": 144,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51705,
    "c": 0.11884,
    "h": 152.5
  },
  "luminance": 0.14919
}

Semantic roles & 50–950 ramp

primary
#217B45
secondary
#AE4A86
accent
#47A3E1
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #217B45

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

Preview Lab → · Contrast checker → · Palette generator →

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