#217E4E#217E4E

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

Color values

HEX#217E4E
RGBrgb(33, 126, 78)
HSLhsl(149, 58%, 31%)
HSVhsv(149, 74%, 49%)
CMYKcmyk(73.8%, 0%, 38.1%, 50.6%)
CIE-LABlab(46.70, -38.54, 18.61)
CIE-LCHlch(46.70, 42.80, 154.22°)
OKLaboklab(52.73% -0.1042 0.0467)
OKLCHoklch(52.73% 0.114 155.9)
XYZxyz(9.4623, 15.7940, 9.7561)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E4E #7E2151
analogous
#227E21 #217E4E #217E7C
triadic
#217E4E #4E217E #7E4E21
tetradic
#217E4E #21227E #7E2151 #7E7C21
square
#217E4E #21227E #7E2151 #7E7C21
split-complementary
#217E4E #7C217E #7E2122
monochromatic
#081D12 #144E30 #217E4E #2EAE6C #4AD08B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217E4E#FFFFFF#000000##FFFFFF
##217E4E1.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)
#7D744B
Deuteranopia (green-blind)
#726B51
Tritanopia (blue-blind)
#007D72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217e4e;
/* rgb */ color: rgb(33, 126, 78);
/* oklch */ color: oklch(52.7% 0.114 155.9);
Tailwind
colors: {
  custom: {
    50: '#6aa480',
    500: '#217e4e',
    950: '#000000',
  },
}
SCSS
$custom: #217e4e;
$custom-light: #6aa480;
$custom-dark: #000000;
JSON
{
  "hex": "#217e4e",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 78
  },
  "hsl": {
    "h": 149.032,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52732,
    "c": 0.11418,
    "h": 155.9
  },
  "luminance": 0.15795
}

Semantic roles & 50–950 ramp

primary
#217E4E
secondary
#B14A7F
accent
#4696E2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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