#217A2A#217A2A

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

Color values

HEX#217A2A
RGBrgb(33, 122, 42)
HSLhsl(126, 57%, 30%)
HSVhsv(126, 73%, 48%)
CMYKcmyk(73%, 0%, 65.6%, 52.2%)
CIE-LABlab(44.81, -42.97, 35.45)
CIE-LCHlch(44.81, 55.70, 140.48°)
OKLaboklab(51% -0.1162 0.0827)
OKLCHoklch(51% 0.143 144.6)
XYZxyz(8.0041, 14.4087, 4.5494)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A2A #7A2171
analogous
#457A21 #217A2A #217A56
triadic
#217A2A #2A217A #7A2A21
tetradic
#217A2A #21457A #7A2171 #7A5621
square
#217A2A #21457A #7A2171 #7A5621
split-complementary
#217A2A #56217A #7A2145
monochromatic
#071A09 #144A19 #217A2A #2EAA3B #48CD55

Accessibility & contrast

On white

5.41
#217A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#217A2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A2A
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A2A#FFFFFF#000000##FFFFFF
##217A2A1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217a2a;
/* rgb */ color: rgb(33, 122, 42);
/* oklch */ color: oklch(51.0% 0.143 144.6);
Tailwind
colors: {
  custom: {
    50: '#6aa167',
    500: '#217a2a',
    950: '#000000',
  },
}
SCSS
$custom: #217a2a;
$custom-light: #6aa167;
$custom-dark: #000000;
JSON
{
  "hex": "#217a2a",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 126.067,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51001,
    "c": 0.14263,
    "h": 144.6
  },
  "luminance": 0.1441
}

Semantic roles & 50–950 ramp

primary
#217A2A
secondary
#AD4AA3
accent
#47D1E1
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #217A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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