#217A1A#217A1A

#217A1A is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.154 H 142.1°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#217A1A
RGBrgb(33, 122, 26)
HSLhsl(116, 65%, 29%)
HSVhsv(116, 79%, 48%)
CMYKcmyk(73%, 0%, 78.7%, 52.2%)
CIE-LABlab(44.68, -44.54, 42.08)
CIE-LCHlch(44.68, 61.27, 136.63°)
OKLaboklab(50.85% -0.1213 0.0946)
OKLCHoklch(50.85% 0.154 142.1)
XYZxyz(7.7727, 14.3161, 3.3307)
Luminance0.1432 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A1A #731A7A
analogous
#517A1A #217A1A #1A7A43
triadic
#217A1A #1A217A #7A1A21
tetradic
#217A1A #1A517A #731A7A #7A431A
square
#217A1A #1A517A #731A7A #7A431A
split-complementary
#217A1A #431A7A #7A1A51
monochromatic
#071905 #13480F #217A1A #2FAC25 #45D539

Accessibility & contrast

On white

5.44
#217A1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#217A1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A1A
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A1A#FFFFFF#000000##FFFFFF
##217A1A1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E05
Deuteranopia (green-blind)
#736725
Tritanopia (blue-blind)
#087668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217a1a;
/* rgb */ color: rgb(33, 122, 26);
/* oklch */ color: oklch(50.9% 0.154 142.1);
Tailwind
colors: {
  custom: {
    50: '#6ba15e',
    500: '#217a1a',
    950: '#000000',
  },
}
SCSS
$custom: #217a1a;
$custom-light: #6ba15e;
$custom-dark: #000000;
JSON
{
  "hex": "#217a1a",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 26
  },
  "hsl": {
    "h": 115.625,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50851,
    "c": 0.15379,
    "h": 142.1
  },
  "luminance": 0.14317
}

Semantic roles & 50–950 ramp

primary
#217A1A
secondary
#A641AE
accent
#40E8DC
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #217A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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