#217F3F#217F3F

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

Color values

HEX#217F3F
RGBrgb(33, 127, 63)
HSLhsl(139, 59%, 31%)
HSVhsv(139, 74%, 50%)
CMYKcmyk(74%, 0%, 50.4%, 50.2%)
CIE-LABlab(46.79, -41.80, 27.07)
CIE-LCHlch(46.79, 49.80, 147.07°)
OKLaboklab(52.72% -0.1125 0.0659)
OKLCHoklch(52.72% 0.13 149.6)
XYZxyz(9.1130, 15.8599, 7.2827)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F3F #7F2161
analogous
#327F21 #217F3F #217F6E
triadic
#217F3F #3F217F #7F3F21
tetradic
#217F3F #21327F #7F2161 #7F6E21
square
#217F3F #21327F #7F2161 #7F6E21
split-complementary
#217F3F #6E217F #7F2132
monochromatic
#081E0F #144E27 #217F3F #2EB057 #4AD075

Accessibility & contrast

On white

5.03
#217F3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217F3F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F3F#FFFFFF#000000##FFFFFF
##217F3F1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743A
Deuteranopia (green-blind)
#756C44
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217f3f;
/* rgb */ color: rgb(33, 127, 63);
/* oklch */ color: oklch(52.7% 0.130 149.6);
Tailwind
colors: {
  custom: {
    50: '#6ba575',
    500: '#217f3f',
    950: '#000000',
  },
}
SCSS
$custom: #217f3f;
$custom-light: #6ba575;
$custom-dark: #000000;
JSON
{
  "hex": "#217f3f",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 63
  },
  "hsl": {
    "h": 139.149,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52721,
    "c": 0.13037,
    "h": 149.6
  },
  "luminance": 0.15861
}

Semantic roles & 50–950 ramp

primary
#217F3F
secondary
#B24A91
accent
#46B0E2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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