#217B34#217B34

#217B34 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.135 H 146.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#217B34
RGBrgb(33, 123, 52)
HSLhsl(133, 58%, 31%)
HSVhsv(133, 73%, 48%)
CMYKcmyk(73.2%, 0%, 57.7%, 51.8%)
CIE-LABlab(45.27, -42.01, 31.03)
CIE-LCHlch(45.27, 52.22, 143.55°)
OKLaboklab(51.42% -0.1132 0.074)
OKLCHoklch(51.42% 0.135 146.8)
XYZxyz(8.3294, 14.7363, 5.6536)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B34 #7B2168
analogous
#3B7B21 #217B34 #217B61
triadic
#217B34 #34217B #7B3421
tetradic
#217B34 #213B7B #7B2168 #7B6121
square
#217B34 #213B7B #7B2168 #7B6121
split-complementary
#217B34 #61217B #7B213B
monochromatic
#071A0B #144B20 #217B34 #2EAB48 #48CE65

Accessibility & contrast

On white

5.32
#217B34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#217B34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B34
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B34#FFFFFF#000000##FFFFFF
##217B341.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D702D
Deuteranopia (green-blind)
#726839
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217b34;
/* rgb */ color: rgb(33, 123, 52);
/* oklch */ color: oklch(51.4% 0.135 146.8);
Tailwind
colors: {
  custom: {
    50: '#6aa26d',
    500: '#217b34',
    950: '#000000',
  },
}
SCSS
$custom: #217b34;
$custom-light: #6aa26d;
$custom-dark: #000000;
JSON
{
  "hex": "#217b34",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 52
  },
  "hsl": {
    "h": 132.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51416,
    "c": 0.1353,
    "h": 146.8
  },
  "luminance": 0.14737
}

Semantic roles & 50–950 ramp

primary
#217B34
secondary
#AE4A99
accent
#47C0E1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #217B34

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

Preview Lab → · Contrast checker → · Palette generator →

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