#217C3E#217C3E

#217C3E is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.127 H 149.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#217C3E
RGBrgb(33, 124, 62)
HSLhsl(139, 58%, 31%)
HSVhsv(139, 73%, 49%)
CMYKcmyk(73.4%, 0%, 50%, 51.4%)
CIE-LABlab(45.75, -40.80, 26.31)
CIE-LCHlch(45.75, 48.55, 147.18°)
OKLaboklab(51.86% -0.1098 0.0641)
OKLCHoklch(51.86% 0.127 149.7)
XYZxyz(8.7037, 15.0855, 7.0096)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C3E #7C215F
analogous
#317C21 #217C3E #217C6B
triadic
#217C3E #3E217C #7C3E21
tetradic
#217C3E #21317C #7C215F #7C6B21
square
#217C3E #21317C #7C215F #7C6B21
split-complementary
#217C3E #6B217C #7C2131
monochromatic
#071B0E #144C26 #217C3E #2EAC56 #49CF73

Accessibility & contrast

On white

5.23
#217C3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#217C3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217C3E
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C3E#FFFFFF#000000##FFFFFF
##217C3E1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7139
Deuteranopia (green-blind)
#726942
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217c3e;
/* rgb */ color: rgb(33, 124, 62);
/* oklch */ color: oklch(51.9% 0.127 149.7);
Tailwind
colors: {
  custom: {
    50: '#6aa374',
    500: '#217c3e',
    950: '#000000',
  },
}
SCSS
$custom: #217c3e;
$custom-light: #6aa374;
$custom-dark: #000000;
JSON
{
  "hex": "#217c3e",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 62
  },
  "hsl": {
    "h": 139.121,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51858,
    "c": 0.12718,
    "h": 149.7
  },
  "luminance": 0.15086
}

Semantic roles & 50–950 ramp

primary
#217C3E
secondary
#AF4A8F
accent
#47B0E1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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