#217E4F#217E4F

#217E4F is a mid, moderate green. Relative luminance 0.158; OKLCH L 52.8% C 0.113 H 156.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#217E4F
RGBrgb(33, 126, 79)
HSLhsl(150, 58%, 31%)
HSVhsv(150, 74%, 49%)
CMYKcmyk(73.8%, 0%, 37.3%, 50.6%)
CIE-LABlab(46.72, -38.33, 18.07)
CIE-LCHlch(46.72, 42.37, 154.76°)
OKLaboklab(52.75% -0.1037 0.0454)
OKLCHoklch(52.75% 0.113 156.4)
XYZxyz(9.4984, 15.8085, 9.9464)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E4F #7E2150
analogous
#217E21 #217E4F #217E7D
triadic
#217E4F #4F217E #7E4F21
tetradic
#217E4F #21217E #7E2150 #7E7D21
square
#217E4F #21217E #7E2150 #7E7D21
split-complementary
#217E4F #7D217E #7E2121
monochromatic
#081D12 #144E31 #217E4F #2EAE6D #4AD08C

Accessibility & contrast

On white

5.05
#217E4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#217E4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E4F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E4F#FFFFFF#000000##FFFFFF
##217E4F1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D744C
Deuteranopia (green-blind)
#726B52
Tritanopia (blue-blind)
#007D72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217e4f;
/* rgb */ color: rgb(33, 126, 79);
/* oklch */ color: oklch(52.8% 0.113 156.4);
Tailwind
colors: {
  custom: {
    50: '#6aa480',
    500: '#217e4f',
    950: '#000000',
  },
}
SCSS
$custom: #217e4f;
$custom-light: #6aa480;
$custom-dark: #000000;
JSON
{
  "hex": "#217e4f",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 79
  },
  "hsl": {
    "h": 149.677,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52754,
    "c": 0.1132,
    "h": 156.4
  },
  "luminance": 0.1581
}

Semantic roles & 50–950 ramp

primary
#217E4F
secondary
#B14A7E
accent
#4695E2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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