#217B3E#217B3E

#217B3E is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.6% C 0.126 H 149.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#217B3E
RGBrgb(33, 123, 62)
HSLhsl(139, 58%, 31%)
HSVhsv(139, 73%, 48%)
CMYKcmyk(73.2%, 0%, 49.6%, 51.8%)
CIE-LABlab(45.41, -40.41, 25.88)
CIE-LCHlch(45.41, 47.98, 147.36°)
OKLaboklab(51.58% -0.1088 0.0631)
OKLCHoklch(51.58% 0.126 149.9)
XYZxyz(8.5790, 14.8361, 6.9680)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B3E #7B215E
analogous
#317B21 #217B3E #217B6B
triadic
#217B3E #3E217B #7B3E21
tetradic
#217B3E #21317B #7B215E #7B6B21
square
#217B3E #21317B #7B215E #7B6B21
split-complementary
#217B3E #6B217B #7B2131
monochromatic
#071A0D #144B26 #217B3E #2EAB56 #48CE73

Accessibility & contrast

On white

5.29
#217B3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#217B3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B3E
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B3E#FFFFFF#000000##FFFFFF
##217B3E1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7039
Deuteranopia (green-blind)
#716842
Tritanopia (blue-blind)
#00796D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217b3e;
/* rgb */ color: rgb(33, 123, 62);
/* oklch */ color: oklch(51.6% 0.126 149.9);
Tailwind
colors: {
  custom: {
    50: '#6aa274',
    500: '#217b3e',
    950: '#000000',
  },
}
SCSS
$custom: #217b3e;
$custom-light: #6aa274;
$custom-dark: #000000;
JSON
{
  "hex": "#217b3e",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 62
  },
  "hsl": {
    "h": 139.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51575,
    "c": 0.12578,
    "h": 149.9
  },
  "luminance": 0.14837
}

Semantic roles & 50–950 ramp

primary
#217B3E
secondary
#AE4A8E
accent
#47AFE1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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