#217B3A#217B3A

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

Color values

HEX#217B3A
RGBrgb(33, 123, 58)
HSLhsl(137, 58%, 31%)
HSVhsv(137, 73%, 48%)
CMYKcmyk(73.2%, 0%, 52.8%, 51.8%)
CIE-LABlab(45.35, -41.08, 27.97)
CIE-LCHlch(45.35, 49.70, 145.75°)
OKLaboklab(51.51% -0.1106 0.0677)
OKLCHoklch(51.51% 0.13 148.5)
XYZxyz(8.4732, 14.7938, 6.4111)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B3A #7B2162
analogous
#357B21 #217B3A #217B67
triadic
#217B3A #3A217B #7B3A21
tetradic
#217B3A #21357B #7B2162 #7B6721
square
#217B3A #21357B #7B2162 #7B6721
split-complementary
#217B3A #67217B #7B2135
monochromatic
#071A0C #144B23 #217B3A #2EAB51 #48CE6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217B3A#FFFFFF#000000##FFFFFF
##217B3A1.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)
#7C7034
Deuteranopia (green-blind)
#71683F
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217b3a;
/* rgb */ color: rgb(33, 123, 58);
/* oklch */ color: oklch(51.5% 0.130 148.5);
Tailwind
colors: {
  custom: {
    50: '#6aa271',
    500: '#217b3a',
    950: '#000000',
  },
}
SCSS
$custom: #217b3a;
$custom-light: #6aa271;
$custom-dark: #000000;
JSON
{
  "hex": "#217b3a",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 58
  },
  "hsl": {
    "h": 136.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51508,
    "c": 0.12966,
    "h": 148.5
  },
  "luminance": 0.14795
}

Semantic roles & 50–950 ramp

primary
#217B3A
secondary
#AE4A92
accent
#47B6E1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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