#217A2C#217A2C

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

Color values

HEX#217A2C
RGBrgb(33, 122, 44)
HSLhsl(127, 57%, 30%)
HSVhsv(127, 73%, 48%)
CMYKcmyk(73%, 0%, 63.9%, 52.2%)
CIE-LABlab(44.83, -42.72, 34.52)
CIE-LCHlch(44.83, 54.92, 141.06°)
OKLaboklab(51.03% -0.1154 0.0809)
OKLCHoklch(51.03% 0.141 145)
XYZxyz(8.0408, 14.4234, 4.7426)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A2C #7A216F
analogous
#427A21 #217A2C #217A58
triadic
#217A2C #2C217A #7A2C21
tetradic
#217A2C #21427A #7A216F #7A5821
square
#217A2C #21427A #7A216F #7A5821
split-complementary
#217A2C #58217A #7A2142
monochromatic
#071A09 #144A1B #217A2C #2EAA3D #48CD58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217A2C#FFFFFF#000000##FFFFFF
##217A2C1.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)
#7C6E23
Deuteranopia (green-blind)
#726733
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217a2c;
/* rgb */ color: rgb(33, 122, 44);
/* oklch */ color: oklch(51.0% 0.141 145.0);
Tailwind
colors: {
  custom: {
    50: '#6aa168',
    500: '#217a2c',
    950: '#000000',
  },
}
SCSS
$custom: #217a2c;
$custom-light: #6aa168;
$custom-dark: #000000;
JSON
{
  "hex": "#217a2c",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 44
  },
  "hsl": {
    "h": 127.416,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51025,
    "c": 0.14098,
    "h": 145
  },
  "luminance": 0.14424
}

Semantic roles & 50–950 ramp

primary
#217A2C
secondary
#AD4AA1
accent
#47CEE1
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #217A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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