#217E34#217E34

#217E34 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.139 H 146.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#217E34
RGBrgb(33, 126, 52)
HSLhsl(132, 58%, 31%)
HSVhsv(132, 74%, 49%)
CMYKcmyk(73.8%, 0%, 58.7%, 50.6%)
CIE-LABlab(46.30, -43.14, 32.25)
CIE-LCHlch(46.30, 53.86, 143.22°)
OKLaboklab(52.27% -0.1163 0.0767)
OKLCHoklch(52.27% 0.139 146.6)
XYZxyz(8.7073, 15.4920, 5.7795)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E34 #7E216B
analogous
#3C7E21 #217E34 #217E62
triadic
#217E34 #34217E #7E3421
tetradic
#217E34 #213C7E #7E216B #7E6221
square
#217E34 #213C7E #7E216B #7E6221
split-complementary
#217E34 #62217E #7E213C
monochromatic
#081D0C #144E20 #217E34 #2EAE48 #4AD065

Accessibility & contrast

On white

5.12
#217E34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#217E34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E34
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E34#FFFFFF#000000##FFFFFF
##217E341.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80722D
Deuteranopia (green-blind)
#756B3A
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217e34;
/* rgb */ color: rgb(33, 126, 52);
/* oklch */ color: oklch(52.3% 0.139 146.6);
Tailwind
colors: {
  custom: {
    50: '#6ba46e',
    500: '#217e34',
    950: '#000000',
  },
}
SCSS
$custom: #217e34;
$custom-light: #6ba46e;
$custom-dark: #000000;
JSON
{
  "hex": "#217e34",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 52
  },
  "hsl": {
    "h": 132.258,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52269,
    "c": 0.13932,
    "h": 146.6
  },
  "luminance": 0.15493
}

Semantic roles & 50–950 ramp

primary
#217E34
secondary
#B14A9C
accent
#46C2E2
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #217E34

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

Preview Lab → · Contrast checker → · Palette generator →

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