#217E3E#217E3E

#217E3E is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.130 H 149.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#217E3E
RGBrgb(33, 126, 62)
HSLhsl(139, 58%, 31%)
HSVhsv(139, 74%, 49%)
CMYKcmyk(73.8%, 0%, 50.8%, 50.6%)
CIE-LABlab(46.43, -41.58, 27.17)
CIE-LCHlch(46.43, 49.67, 146.84°)
OKLaboklab(52.42% -0.1119 0.0661)
OKLCHoklch(52.42% 0.13 149.4)
XYZxyz(8.9568, 15.5918, 7.0940)
Luminance0.1559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E3E #7E2161
analogous
#327E21 #217E3E #217E6C
triadic
#217E3E #3E217E #7E3E21
tetradic
#217E3E #21327E #7E2161 #7E6C21
square
#217E3E #21327E #7E2161 #7E6C21
split-complementary
#217E3E #6C217E #7E2132
monochromatic
#081D0E #144E26 #217E3E #2EAE56 #4AD074

Accessibility & contrast

On white

5.10
#217E3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#217E3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E3E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E3E#FFFFFF#000000##FFFFFF
##217E3E1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7339
Deuteranopia (green-blind)
#746B43
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217e3e;
/* rgb */ color: rgb(33, 126, 62);
/* oklch */ color: oklch(52.4% 0.130 149.4);
Tailwind
colors: {
  custom: {
    50: '#6ba474',
    500: '#217e3e',
    950: '#000000',
  },
}
SCSS
$custom: #217e3e;
$custom-light: #6ba474;
$custom-dark: #000000;
JSON
{
  "hex": "#217e3e",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 62
  },
  "hsl": {
    "h": 138.71,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52422,
    "c": 0.12996,
    "h": 149.4
  },
  "luminance": 0.15593
}

Semantic roles & 50–950 ramp

primary
#217E3E
secondary
#B14A91
accent
#46B1E2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217E3E

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

Preview Lab → · Contrast checker → · Palette generator →

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