#217C3D#217C3D

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

Color values

HEX#217C3D
RGBrgb(33, 124, 61)
HSLhsl(138, 58%, 31%)
HSVhsv(138, 73%, 49%)
CMYKcmyk(73.4%, 0%, 50.8%, 51.4%)
CIE-LABlab(45.74, -40.97, 26.83)
CIE-LCHlch(45.74, 48.98, 146.78°)
OKLaboklab(51.84% -0.1103 0.0653)
OKLCHoklch(51.84% 0.128 149.4)
XYZxyz(8.6765, 15.0746, 6.8664)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C3D #7C2160
analogous
#327C21 #217C3D #217C6A
triadic
#217C3D #3D217C #7C3D21
tetradic
#217C3D #21327C #7C2160 #7C6A21
square
#217C3D #21327C #7C2160 #7C6A21
split-complementary
#217C3D #6A217C #7C2132
monochromatic
#071B0D #144C25 #217C3D #2EAC55 #49CF72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217C3D#FFFFFF#000000##FFFFFF
##217C3D1.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)
#7D7138
Deuteranopia (green-blind)
#726942
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217c3d;
/* rgb */ color: rgb(33, 124, 61);
/* oklch */ color: oklch(51.8% 0.128 149.4);
Tailwind
colors: {
  custom: {
    50: '#6aa374',
    500: '#217c3d',
    950: '#000000',
  },
}
SCSS
$custom: #217c3d;
$custom-light: #6aa374;
$custom-dark: #000000;
JSON
{
  "hex": "#217c3d",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 61
  },
  "hsl": {
    "h": 138.462,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51841,
    "c": 0.12815,
    "h": 149.4
  },
  "luminance": 0.15076
}

Semantic roles & 50–950 ramp

primary
#217C3D
secondary
#AF4A90
accent
#47B2E1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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