#217B2E#217B2E

#217B2E is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.141 H 145.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#217B2E
RGBrgb(33, 123, 46)
HSLhsl(129, 58%, 31%)
HSVhsv(129, 73%, 48%)
CMYKcmyk(73.2%, 0%, 62.6%, 51.8%)
CIE-LABlab(45.20, -42.84, 33.96)
CIE-LCHlch(45.20, 54.67, 141.59°)
OKLaboklab(51.33% -0.1157 0.0799)
OKLCHoklch(51.33% 0.141 145.4)
XYZxyz(8.2027, 14.6856, 4.9865)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B2E #7B216E
analogous
#417B21 #217B2E #217B5B
triadic
#217B2E #2E217B #7B2E21
tetradic
#217B2E #21417B #7B216E #7B5B21
square
#217B2E #21417B #7B216E #7B5B21
split-complementary
#217B2E #5B217B #7B2141
monochromatic
#071A0A #144B1C #217B2E #2EAB40 #48CE5C

Accessibility & contrast

On white

5.33
#217B2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#217B2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B2E
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B2E#FFFFFF#000000##FFFFFF
##217B2E1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F26
Deuteranopia (green-blind)
#726834
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217b2e;
/* rgb */ color: rgb(33, 123, 46);
/* oklch */ color: oklch(51.3% 0.141 145.4);
Tailwind
colors: {
  custom: {
    50: '#6aa26a',
    500: '#217b2e',
    950: '#000000',
  },
}
SCSS
$custom: #217b2e;
$custom-light: #6aa26a;
$custom-dark: #000000;
JSON
{
  "hex": "#217b2e",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 46
  },
  "hsl": {
    "h": 128.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51335,
    "c": 0.1406,
    "h": 145.4
  },
  "luminance": 0.14687
}

Semantic roles & 50–950 ramp

primary
#217B2E
secondary
#AE4A9F
accent
#47CBE1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #217B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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