#217E2D#217E2D

#217E2D is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.145 H 145.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#217E2D
RGBrgb(33, 126, 45)
HSLhsl(128, 58%, 31%)
HSVhsv(128, 74%, 49%)
CMYKcmyk(73.8%, 0%, 64.3%, 50.6%)
CIE-LABlab(46.22, -44.07, 35.61)
CIE-LCHlch(46.22, 56.66, 141.06°)
OKLaboklab(52.18% -0.1191 0.0833)
OKLCHoklch(52.18% 0.145 145)
XYZxyz(8.5611, 15.4336, 5.0099)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E2D #7E2172
analogous
#437E21 #217E2D #217E5B
triadic
#217E2D #2D217E #7E2D21
tetradic
#217E2D #21437E #7E2172 #7E5B21
square
#217E2D #21437E #7E2172 #7E5B21
split-complementary
#217E2D #5B217E #7E2143
monochromatic
#081D0A #144E1C #217E2D #2EAE3E #4AD05B

Accessibility & contrast

On white

5.14
#217E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#217E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E2D
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E2D#FFFFFF#000000##FFFFFF
##217E2D1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807224
Deuteranopia (green-blind)
#756B34
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217e2d;
/* rgb */ color: rgb(33, 126, 45);
/* oklch */ color: oklch(52.2% 0.145 145.0);
Tailwind
colors: {
  custom: {
    50: '#6ba469',
    500: '#217e2d',
    950: '#000000',
  },
}
SCSS
$custom: #217e2d;
$custom-light: #6ba469;
$custom-dark: #000000;
JSON
{
  "hex": "#217e2d",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 127.742,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52178,
    "c": 0.14534,
    "h": 145
  },
  "luminance": 0.15435
}

Semantic roles & 50–950 ramp

primary
#217E2D
secondary
#B14AA3
accent
#46CEE2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #217E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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