#217A2B#217A2B

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

Color values

HEX#217A2B
RGBrgb(33, 122, 43)
HSLhsl(127, 57%, 30%)
HSVhsv(127, 73%, 48%)
CMYKcmyk(73%, 0%, 64.8%, 52.2%)
CIE-LABlab(44.82, -42.85, 34.99)
CIE-LCHlch(44.82, 55.32, 140.77°)
OKLaboklab(51.01% -0.1158 0.0818)
OKLCHoklch(51.01% 0.142 144.8)
XYZxyz(8.0222, 14.4159, 4.6448)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A2B #7A2170
analogous
#437A21 #217A2B #217A58
triadic
#217A2B #2B217A #7A2B21
tetradic
#217A2B #21437A #7A2170 #7A5821
square
#217A2B #21437A #7A2170 #7A5821
split-complementary
#217A2B #58217A #7A2143
monochromatic
#071A09 #144A1A #217A2B #2EAA3C #48CD57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217A2B#FFFFFF#000000##FFFFFF
##217A2B1.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)
#7C6E22
Deuteranopia (green-blind)
#726732
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217a2b;
/* rgb */ color: rgb(33, 122, 43);
/* oklch */ color: oklch(51.0% 0.142 144.8);
Tailwind
colors: {
  custom: {
    50: '#6aa168',
    500: '#217a2b',
    950: '#000000',
  },
}
SCSS
$custom: #217a2b;
$custom-light: #6aa168;
$custom-dark: #000000;
JSON
{
  "hex": "#217a2b",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 43
  },
  "hsl": {
    "h": 126.742,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51013,
    "c": 0.14181,
    "h": 144.8
  },
  "luminance": 0.14417
}

Semantic roles & 50–950 ramp

primary
#217A2B
secondary
#AD4AA2
accent
#47CFE1
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #217A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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