#217F3D#217F3D

#217F3D is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.132 H 149.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#217F3D
RGBrgb(33, 127, 61)
HSLhsl(138, 59%, 31%)
HSVhsv(138, 74%, 50%)
CMYKcmyk(74%, 0%, 52%, 50.2%)
CIE-LABlab(46.76, -42.14, 28.11)
CIE-LCHlch(46.76, 50.65, 146.29°)
OKLaboklab(52.69% -0.1134 0.0681)
OKLCHoklch(52.69% 0.132 149)
XYZxyz(9.0582, 15.8380, 6.9936)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F3D #7F2163
analogous
#347F21 #217F3D #217F6C
triadic
#217F3D #3D217F #7F3D21
tetradic
#217F3D #21347F #7F2163 #7F6C21
square
#217F3D #21347F #7F2163 #7F6C21
split-complementary
#217F3D #6C217F #7F2134
monochromatic
#081E0E #144E26 #217F3D #2EB054 #4AD072

Accessibility & contrast

On white

5.04
#217F3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#217F3D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F3D
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F3D#FFFFFF#000000##FFFFFF
##217F3D1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807437
Deuteranopia (green-blind)
#756C42
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217f3d;
/* rgb */ color: rgb(33, 127, 61);
/* oklch */ color: oklch(52.7% 0.132 149.0);
Tailwind
colors: {
  custom: {
    50: '#6ba574',
    500: '#217f3d',
    950: '#000000',
  },
}
SCSS
$custom: #217f3d;
$custom-light: #6ba574;
$custom-dark: #000000;
JSON
{
  "hex": "#217f3d",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 61
  },
  "hsl": {
    "h": 137.872,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52688,
    "c": 0.1323,
    "h": 149
  },
  "luminance": 0.15839
}

Semantic roles & 50–950 ramp

primary
#217F3D
secondary
#B24A93
accent
#46B3E2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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