#217F3C#217F3C

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

Color values

HEX#217F3C
RGBrgb(33, 127, 60)
HSLhsl(137, 59%, 31%)
HSVhsv(137, 74%, 50%)
CMYKcmyk(74%, 0%, 52.8%, 50.2%)
CIE-LABlab(46.75, -42.30, 28.63)
CIE-LCHlch(46.75, 51.08, 145.91°)
OKLaboklab(52.67% -0.1138 0.0693)
OKLCHoklch(52.67% 0.133 148.7)
XYZxyz(9.0315, 15.8273, 6.8531)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F3C #7F2164
analogous
#357F21 #217F3C #217F6B
triadic
#217F3C #3C217F #7F3C21
tetradic
#217F3C #21357F #7F2164 #7F6B21
square
#217F3C #21357F #7F2164 #7F6B21
split-complementary
#217F3C #6B217F #7F2135
monochromatic
#081E0E #144E25 #217F3C #2EB053 #4AD071

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217F3C#FFFFFF#000000##FFFFFF
##217F3C1.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)
#807436
Deuteranopia (green-blind)
#756C41
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217f3c;
/* rgb */ color: rgb(33, 127, 60);
/* oklch */ color: oklch(52.7% 0.133 148.7);
Tailwind
colors: {
  custom: {
    50: '#6ba573',
    500: '#217f3c',
    950: '#000000',
  },
}
SCSS
$custom: #217f3c;
$custom-light: #6ba573;
$custom-dark: #000000;
JSON
{
  "hex": "#217f3c",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 60
  },
  "hsl": {
    "h": 137.234,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52672,
    "c": 0.13326,
    "h": 148.7
  },
  "luminance": 0.15828
}

Semantic roles & 50–950 ramp

primary
#217F3C
secondary
#B24A94
accent
#46B5E2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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