#217A34#217A34

#217A34 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.134 H 146.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#217A34
RGBrgb(33, 122, 52)
HSLhsl(133, 57%, 30%)
HSVhsv(133, 73%, 48%)
CMYKcmyk(73%, 0%, 57.4%, 52.2%)
CIE-LABlab(44.93, -41.63, 30.61)
CIE-LCHlch(44.93, 51.67, 143.67°)
OKLaboklab(51.13% -0.1122 0.0731)
OKLCHoklch(51.13% 0.134 146.9)
XYZxyz(8.2060, 14.4894, 5.6124)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A34 #7A2167
analogous
#3A7A21 #217A34 #217A60
triadic
#217A34 #34217A #7A3421
tetradic
#217A34 #213A7A #7A2167 #7A6021
square
#217A34 #213A7A #7A2167 #7A6021
split-complementary
#217A34 #60217A #7A213A
monochromatic
#071A0B #144A1F #217A34 #2EAA49 #48CD64

Accessibility & contrast

On white

5.39
#217A34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#217A34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A34
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A34#FFFFFF#000000##FFFFFF
##217A341.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F2D
Deuteranopia (green-blind)
#716739
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217a34;
/* rgb */ color: rgb(33, 122, 52);
/* oklch */ color: oklch(51.1% 0.134 146.9);
Tailwind
colors: {
  custom: {
    50: '#6aa16d',
    500: '#217a34',
    950: '#000000',
  },
}
SCSS
$custom: #217a34;
$custom-light: #6aa16d;
$custom-dark: #000000;
JSON
{
  "hex": "#217a34",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 52
  },
  "hsl": {
    "h": 132.809,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51132,
    "c": 0.13394,
    "h": 146.9
  },
  "luminance": 0.1449
}

Semantic roles & 50–950 ramp

primary
#217A34
secondary
#AD4A98
accent
#47C0E1
background
#F6FAF6
surface
#ECF3EC
border
#C7CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #217A34

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

Preview Lab → · Contrast checker → · Palette generator →

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