#217F45#217F45

#217F45 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.124 H 151.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#217F45
RGBrgb(33, 127, 69)
HSLhsl(143, 59%, 31%)
HSVhsv(143, 74%, 50%)
CMYKcmyk(74%, 0%, 45.7%, 50.2%)
CIE-LABlab(46.88, -40.73, 23.91)
CIE-LCHlch(46.88, 47.23, 149.59°)
OKLaboklab(52.83% -0.1097 0.0589)
OKLCHoklch(52.83% 0.125 151.8)
XYZxyz(9.2900, 15.9307, 8.2144)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F45 #7F215B
analogous
#2C7F21 #217F45 #217F74
triadic
#217F45 #45217F #7F4521
tetradic
#217F45 #212C7F #7F215B #7F7421
square
#217F45 #212C7F #7F215B #7F7421
split-complementary
#217F45 #74217F #7F212C
monochromatic
#081E10 #144E2B #217F45 #2EB05F #4AD07E

Accessibility & contrast

On white

5.02
#217F45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#217F45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F45
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F45#FFFFFF#000000##FFFFFF
##217F451.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7441
Deuteranopia (green-blind)
#746C49
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217f45;
/* rgb */ color: rgb(33, 127, 69);
/* oklch */ color: oklch(52.8% 0.124 151.8);
Tailwind
colors: {
  custom: {
    50: '#6ba579',
    500: '#217f45',
    950: '#000000',
  },
}
SCSS
$custom: #217f45;
$custom-light: #6ba579;
$custom-dark: #000000;
JSON
{
  "hex": "#217f45",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 69
  },
  "hsl": {
    "h": 142.979,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52829,
    "c": 0.1245,
    "h": 151.8
  },
  "luminance": 0.15932
}

Semantic roles & 50–950 ramp

primary
#217F45
secondary
#B24A8A
accent
#46A6E2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #217F45

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

Preview Lab → · Contrast checker → · Palette generator →

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