#217F3E#217F3E

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

Color values

HEX#217F3E
RGBrgb(33, 127, 62)
HSLhsl(139, 59%, 31%)
HSVhsv(139, 74%, 50%)
CMYKcmyk(74%, 0%, 51.2%, 50.2%)
CIE-LABlab(46.78, -41.97, 27.59)
CIE-LCHlch(46.78, 50.23, 146.68°)
OKLaboklab(52.7% -0.1129 0.067)
OKLCHoklch(52.7% 0.131 149.3)
XYZxyz(9.0853, 15.8489, 7.1368)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F3E #7F2162
analogous
#337F21 #217F3E #217F6D
triadic
#217F3E #3E217F #7F3E21
tetradic
#217F3E #21337F #7F2162 #7F6D21
square
#217F3E #21337F #7F2162 #7F6D21
split-complementary
#217F3E #6D217F #7F2133
monochromatic
#081E0F #144E26 #217F3E #2EB056 #4AD074

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217F3E#FFFFFF#000000##FFFFFF
##217F3E1.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)
#807439
Deuteranopia (green-blind)
#756C43
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217f3e;
/* rgb */ color: rgb(33, 127, 62);
/* oklch */ color: oklch(52.7% 0.131 149.3);
Tailwind
colors: {
  custom: {
    50: '#6ba574',
    500: '#217f3e',
    950: '#000000',
  },
}
SCSS
$custom: #217f3e;
$custom-light: #6ba574;
$custom-dark: #000000;
JSON
{
  "hex": "#217f3e",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 62
  },
  "hsl": {
    "h": 138.511,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52704,
    "c": 0.13134,
    "h": 149.3
  },
  "luminance": 0.1585
}

Semantic roles & 50–950 ramp

primary
#217F3E
secondary
#B24A92
accent
#46B2E2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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