#217A2D#217A2D

#217A2D is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.140 H 145.2°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#217A2D
RGBrgb(33, 122, 45)
HSLhsl(128, 57%, 30%)
HSVhsv(128, 73%, 48%)
CMYKcmyk(73%, 0%, 63.1%, 52.2%)
CIE-LABlab(44.84, -42.59, 34.04)
CIE-LCHlch(44.84, 54.53, 141.37°)
OKLaboklab(51.04% -0.1151 0.08)
OKLCHoklch(51.04% 0.14 145.2)
XYZxyz(8.0598, 14.4310, 4.8428)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A2D #7A216E
analogous
#417A21 #217A2D #217A59
triadic
#217A2D #2D217A #7A2D21
tetradic
#217A2D #21417A #7A216E #7A5921
square
#217A2D #21417A #7A216E #7A5921
split-complementary
#217A2D #59217A #7A2141
monochromatic
#071A09 #144A1B #217A2D #2EAA3F #48CD5A

Accessibility & contrast

On white

5.40
#217A2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#217A2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A2D
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A2D#FFFFFF#000000##FFFFFF
##217A2D1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E25
Deuteranopia (green-blind)
#726733
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217a2d;
/* rgb */ color: rgb(33, 122, 45);
/* oklch */ color: oklch(51.0% 0.140 145.2);
Tailwind
colors: {
  custom: {
    50: '#6aa169',
    500: '#217a2d',
    950: '#000000',
  },
}
SCSS
$custom: #217a2d;
$custom-light: #6aa169;
$custom-dark: #000000;
JSON
{
  "hex": "#217a2d",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 128.09,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51037,
    "c": 0.14014,
    "h": 145.2
  },
  "luminance": 0.14432
}

Semantic roles & 50–950 ramp

primary
#217A2D
secondary
#AD4AA0
accent
#47CCE1
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #217A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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