#217D34#217D34

#217D34 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.138 H 146.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#217D34
RGBrgb(33, 125, 52)
HSLhsl(132, 58%, 31%)
HSVhsv(132, 74%, 49%)
CMYKcmyk(73.6%, 0%, 58.4%, 51%)
CIE-LABlab(45.96, -42.76, 31.84)
CIE-LCHlch(45.96, 53.32, 143.33°)
OKLaboklab(51.99% -0.1153 0.0758)
OKLCHoklch(51.99% 0.138 146.7)
XYZxyz(8.5800, 15.2375, 5.7371)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D34 #7D216A
analogous
#3C7D21 #217D34 #217D62
triadic
#217D34 #34217D #7D3421
tetradic
#217D34 #213C7D #7D216A #7D6221
square
#217D34 #213C7D #7D216A #7D6221
split-complementary
#217D34 #62217D #7D213C
monochromatic
#071C0C #144D20 #217D34 #2EAD48 #49CF65

Accessibility & contrast

On white

5.19
#217D34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#217D34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D34
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D34#FFFFFF#000000##FFFFFF
##217D341.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F712D
Deuteranopia (green-blind)
#746A3A
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217d34;
/* rgb */ color: rgb(33, 125, 52);
/* oklch */ color: oklch(52.0% 0.138 146.7);
Tailwind
colors: {
  custom: {
    50: '#6ba46e',
    500: '#217d34',
    950: '#000000',
  },
}
SCSS
$custom: #217d34;
$custom-light: #6ba46e;
$custom-dark: #000000;
JSON
{
  "hex": "#217d34",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 52
  },
  "hsl": {
    "h": 132.391,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51985,
    "c": 0.13798,
    "h": 146.7
  },
  "luminance": 0.15238
}

Semantic roles & 50–950 ramp

primary
#217D34
secondary
#B04A9B
accent
#46C1E1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #217D34

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

Preview Lab → · Contrast checker → · Palette generator →

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