#217B46#217B46

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

Color values

HEX#217B46
RGBrgb(33, 123, 70)
HSLhsl(145, 58%, 31%)
HSVhsv(145, 73%, 48%)
CMYKcmyk(73.2%, 0%, 43.1%, 51.8%)
CIE-LABlab(45.54, -38.93, 21.61)
CIE-LCHlch(45.54, 44.52, 150.97°)
OKLaboklab(51.73% -0.105 0.0536)
OKLCHoklch(51.73% 0.118 153)
XYZxyz(8.8149, 14.9305, 8.2105)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B46 #7B2156
analogous
#297B21 #217B46 #217B73
triadic
#217B46 #46217B #7B4621
tetradic
#217B46 #21297B #7B2156 #7B7321
square
#217B46 #21297B #7B2156 #7B7321
split-complementary
#217B46 #73217B #7B2129
monochromatic
#071A0F #144B2B #217B46 #2EAB61 #48CE7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217B46#FFFFFF#000000##FFFFFF
##217B461.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217b46;
/* rgb */ color: rgb(33, 123, 70);
/* oklch */ color: oklch(51.7% 0.118 153.0);
Tailwind
colors: {
  custom: {
    50: '#6aa27a',
    500: '#217b46',
    950: '#000000',
  },
}
SCSS
$custom: #217b46;
$custom-light: #6aa27a;
$custom-dark: #000000;
JSON
{
  "hex": "#217b46",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 70
  },
  "hsl": {
    "h": 144.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51725,
    "c": 0.11784,
    "h": 153
  },
  "luminance": 0.14931
}

Semantic roles & 50–950 ramp

primary
#217B46
secondary
#AE4A85
accent
#47A2E1
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #217B46

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

Preview Lab → · Contrast checker → · Palette generator →

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