#217B2D#217B2D

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

Color values

HEX#217B2D
RGBrgb(33, 123, 45)
HSLhsl(128, 58%, 31%)
HSVhsv(128, 73%, 48%)
CMYKcmyk(73.2%, 0%, 63.4%, 51.8%)
CIE-LABlab(45.19, -42.97, 34.44)
CIE-LCHlch(45.19, 55.06, 141.29°)
OKLaboklab(51.32% -0.1161 0.0808)
OKLCHoklch(51.32% 0.141 145.1)
XYZxyz(8.1833, 14.6778, 4.8839)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B2D #7B216F
analogous
#427B21 #217B2D #217B5A
triadic
#217B2D #2D217B #7B2D21
tetradic
#217B2D #21427B #7B216F #7B5A21
square
#217B2D #21427B #7B216F #7B5A21
split-complementary
#217B2D #5A217B #7B2142
monochromatic
#071A0A #144B1B #217B2D #2EAB3F #48CE5A

Accessibility & contrast

On white

5.34
#217B2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217B2D
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B2D#FFFFFF#000000##FFFFFF
##217B2D1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217b2d;
/* rgb */ color: rgb(33, 123, 45);
/* oklch */ color: oklch(51.3% 0.141 145.1);
Tailwind
colors: {
  custom: {
    50: '#6aa269',
    500: '#217b2d',
    950: '#000000',
  },
}
SCSS
$custom: #217b2d;
$custom-light: #6aa269;
$custom-dark: #000000;
JSON
{
  "hex": "#217b2d",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 45
  },
  "hsl": {
    "h": 128,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51323,
    "c": 0.14145,
    "h": 145.1
  },
  "luminance": 0.14679
}

Semantic roles & 50–950 ramp

primary
#217B2D
secondary
#AE4AA1
accent
#47CCE1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #217B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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