#217B3C#217B3C

#217B3C is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.128 H 149.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#217B3C
RGBrgb(33, 123, 60)
HSLhsl(138, 58%, 31%)
HSVhsv(138, 73%, 48%)
CMYKcmyk(73.2%, 0%, 51.2%, 51.8%)
CIE-LABlab(45.38, -40.75, 26.93)
CIE-LCHlch(45.38, 48.84, 146.54°)
OKLaboklab(51.54% -0.1097 0.0654)
OKLCHoklch(51.54% 0.128 149.2)
XYZxyz(8.5251, 14.8145, 6.6843)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B3C #7B2160
analogous
#337B21 #217B3C #217B69
triadic
#217B3C #3C217B #7B3C21
tetradic
#217B3C #21337B #7B2160 #7B6921
square
#217B3C #21337B #7B2160 #7B6921
split-complementary
#217B3C #69217B #7B2133
monochromatic
#071A0D #144B24 #217B3C #2EAB54 #48CE70

Accessibility & contrast

On white

5.30
#217B3C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#217B3C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B3C
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B3C#FFFFFF#000000##FFFFFF
##217B3C1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7037
Deuteranopia (green-blind)
#716841
Tritanopia (blue-blind)
#00796C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217b3c;
/* rgb */ color: rgb(33, 123, 60);
/* oklch */ color: oklch(51.5% 0.128 149.2);
Tailwind
colors: {
  custom: {
    50: '#6aa273',
    500: '#217b3c',
    950: '#000000',
  },
}
SCSS
$custom: #217b3c;
$custom-light: #6aa273;
$custom-dark: #000000;
JSON
{
  "hex": "#217b3c",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 60
  },
  "hsl": {
    "h": 138,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51541,
    "c": 0.12773,
    "h": 149.2
  },
  "luminance": 0.14815
}

Semantic roles & 50–950 ramp

primary
#217B3C
secondary
#AE4A90
accent
#47B3E1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217B3C

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

Preview Lab → · Contrast checker → · Palette generator →

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