#217A3D#217A3D

#217A3D is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.125 H 149.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#217A3D
RGBrgb(33, 122, 61)
HSLhsl(139, 57%, 30%)
HSVhsv(139, 73%, 48%)
CMYKcmyk(73%, 0%, 50%, 52.2%)
CIE-LABlab(45.05, -40.19, 25.97)
CIE-LCHlch(45.05, 47.85, 147.12°)
OKLaboklab(51.28% -0.1082 0.0633)
OKLCHoklch(51.28% 0.125 149.7)
XYZxyz(8.4284, 14.5784, 6.7837)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A3D #7A215E
analogous
#327A21 #217A3D #217A69
triadic
#217A3D #3D217A #7A3D21
tetradic
#217A3D #21327A #7A215E #7A6921
square
#217A3D #21327A #7A215E #7A6921
split-complementary
#217A3D #69217A #7A2132
monochromatic
#071A0D #144A25 #217A3D #2EAA55 #48CD72

Accessibility & contrast

On white

5.36
#217A3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#217A3D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A3D
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A3D#FFFFFF#000000##FFFFFF
##217A3D1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F38
Deuteranopia (green-blind)
#706841
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217a3d;
/* rgb */ color: rgb(33, 122, 61);
/* oklch */ color: oklch(51.3% 0.125 149.7);
Tailwind
colors: {
  custom: {
    50: '#6aa173',
    500: '#217a3d',
    950: '#000000',
  },
}
SCSS
$custom: #217a3d;
$custom-light: #6aa173;
$custom-dark: #000000;
JSON
{
  "hex": "#217a3d",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 61
  },
  "hsl": {
    "h": 138.876,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51275,
    "c": 0.12535,
    "h": 149.7
  },
  "luminance": 0.14579
}

Semantic roles & 50–950 ramp

primary
#217A3D
secondary
#AD4A8E
accent
#47B0E1
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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