#217C3F#217C3F

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

Color values

HEX#217C3F
RGBrgb(33, 124, 63)
HSLhsl(140, 58%, 31%)
HSVhsv(140, 73%, 49%)
CMYKcmyk(73.4%, 0%, 49.2%, 51.4%)
CIE-LABlab(45.77, -40.63, 25.78)
CIE-LCHlch(45.77, 48.12, 147.60°)
OKLaboklab(51.88% -0.1094 0.063)
OKLCHoklch(51.88% 0.126 150.1)
XYZxyz(8.7313, 15.0965, 7.1554)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C3F #7C215E
analogous
#307C21 #217C3F #217C6C
triadic
#217C3F #3F217C #7C3F21
tetradic
#217C3F #21307C #7C215E #7C6C21
square
#217C3F #21307C #7C215E #7C6C21
split-complementary
#217C3F #6C217C #7C2130
monochromatic
#071B0E #144C26 #217C3F #2EAC58 #49CF75

Accessibility & contrast

On white

5.22
#217C3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217C3F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C3F#FFFFFF#000000##FFFFFF
##217C3F1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D713A
Deuteranopia (green-blind)
#726943
Tritanopia (blue-blind)
#007A6E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217c3f;
/* rgb */ color: rgb(33, 124, 63);
/* oklch */ color: oklch(51.9% 0.126 150.1);
Tailwind
colors: {
  custom: {
    50: '#6aa375',
    500: '#217c3f',
    950: '#000000',
  },
}
SCSS
$custom: #217c3f;
$custom-light: #6aa375;
$custom-dark: #000000;
JSON
{
  "hex": "#217c3f",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 63
  },
  "hsl": {
    "h": 139.78,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51875,
    "c": 0.1262,
    "h": 150.1
  },
  "luminance": 0.15098
}

Semantic roles & 50–950 ramp

primary
#217C3F
secondary
#AF4A8E
accent
#47AEE1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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