#217D2D#217D2D

#217D2D is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.144 H 145.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#217D2D
RGBrgb(33, 125, 45)
HSLhsl(128, 58%, 31%)
HSVhsv(128, 74%, 49%)
CMYKcmyk(73.6%, 0%, 64%, 51%)
CIE-LABlab(45.88, -43.70, 35.22)
CIE-LCHlch(45.88, 56.13, 141.13°)
OKLaboklab(51.89% -0.1181 0.0825)
OKLCHoklch(51.89% 0.144 145.1)
XYZxyz(8.4339, 15.1791, 4.9675)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D2D #7D2171
analogous
#437D21 #217D2D #217D5B
triadic
#217D2D #2D217D #7D2D21
tetradic
#217D2D #21437D #7D2171 #7D5B21
square
#217D2D #21437D #7D2171 #7D5B21
split-complementary
#217D2D #5B217D #7D2143
monochromatic
#071C0A #144D1C #217D2D #2EAD3E #49CF5B

Accessibility & contrast

On white

5.20
#217D2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#217D2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D2D
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D2D#FFFFFF#000000##FFFFFF
##217D2D1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7124
Deuteranopia (green-blind)
#746A34
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217d2d;
/* rgb */ color: rgb(33, 125, 45);
/* oklch */ color: oklch(51.9% 0.144 145.1);
Tailwind
colors: {
  custom: {
    50: '#6ba469',
    500: '#217d2d',
    950: '#000000',
  },
}
SCSS
$custom: #217d2d;
$custom-light: #6ba469;
$custom-dark: #000000;
JSON
{
  "hex": "#217d2d",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 45
  },
  "hsl": {
    "h": 127.826,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51893,
    "c": 0.14405,
    "h": 145.1
  },
  "luminance": 0.1518
}

Semantic roles & 50–950 ramp

primary
#217D2D
secondary
#B04AA3
accent
#46CDE1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #217D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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