#217C2A#217C2A

#217C2A is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.145 H 144.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#217C2A
RGBrgb(33, 124, 42)
HSLhsl(126, 58%, 31%)
HSVhsv(126, 73%, 49%)
CMYKcmyk(73.4%, 0%, 66.1%, 51.4%)
CIE-LABlab(45.50, -43.70, 36.22)
CIE-LCHlch(45.50, 56.76, 140.35°)
OKLaboklab(51.57% -0.1182 0.0843)
OKLCHoklch(51.57% 0.145 144.5)
XYZxyz(8.2522, 14.9049, 4.6321)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C2A #7C2173
analogous
#457C21 #217C2A #217C57
triadic
#217C2A #2A217C #7C2A21
tetradic
#217C2A #21457C #7C2173 #7C5721
square
#217C2A #21457C #7C2173 #7C5721
split-complementary
#217C2A #57217C #7C2145
monochromatic
#071B09 #144C1A #217C2A #2EAC3A #49CF56

Accessibility & contrast

On white

5.27
#217C2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#217C2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217C2A
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C2A#FFFFFF#000000##FFFFFF
##217C2A1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7020
Deuteranopia (green-blind)
#746931
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217c2a;
/* rgb */ color: rgb(33, 124, 42);
/* oklch */ color: oklch(51.6% 0.145 144.5);
Tailwind
colors: {
  custom: {
    50: '#6ba367',
    500: '#217c2a',
    950: '#000000',
  },
}
SCSS
$custom: #217c2a;
$custom-light: #6ba367;
$custom-dark: #000000;
JSON
{
  "hex": "#217c2a",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 42
  },
  "hsl": {
    "h": 125.934,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51573,
    "c": 0.1452,
    "h": 144.5
  },
  "luminance": 0.14906
}

Semantic roles & 50–950 ramp

primary
#217C2A
secondary
#AF4AA5
accent
#47D2E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #217C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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