#217A2E#217A2E

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

Color values

HEX#217A2E
RGBrgb(33, 122, 46)
HSLhsl(129, 57%, 30%)
HSVhsv(129, 73%, 48%)
CMYKcmyk(73%, 0%, 62.3%, 52.2%)
CIE-LABlab(44.86, -42.47, 33.57)
CIE-LCHlch(44.86, 54.13, 141.68°)
OKLaboklab(51.05% -0.1147 0.0791)
OKLCHoklch(51.05% 0.139 145.4)
XYZxyz(8.0793, 14.4388, 4.9454)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A2E #7A216D
analogous
#407A21 #217A2E #217A5A
triadic
#217A2E #2E217A #7A2E21
tetradic
#217A2E #21407A #7A216D #7A5A21
square
#217A2E #21407A #7A216D #7A5A21
split-complementary
#217A2E #5A217A #7A2140
monochromatic
#071A0A #144A1C #217A2E #2EAA40 #48CD5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217A2E#FFFFFF#000000##FFFFFF
##217A2E1.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)
#7C6F26
Deuteranopia (green-blind)
#726734
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217a2e;
/* rgb */ color: rgb(33, 122, 46);
/* oklch */ color: oklch(51.0% 0.139 145.4);
Tailwind
colors: {
  custom: {
    50: '#6aa169',
    500: '#217a2e',
    950: '#000000',
  },
}
SCSS
$custom: #217a2e;
$custom-light: #6aa169;
$custom-dark: #000000;
JSON
{
  "hex": "#217a2e",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 128.764,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5105,
    "c": 0.13928,
    "h": 145.4
  },
  "luminance": 0.1444
}

Semantic roles & 50–950 ramp

primary
#217A2E
secondary
#AD4A9F
accent
#47CAE1
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #217A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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