#217A1D#217A1D

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

Color values

HEX#217A1D
RGBrgb(33, 122, 29)
HSLhsl(117, 62%, 30%)
HSVhsv(117, 76%, 48%)
CMYKcmyk(73%, 0%, 76.2%, 52.2%)
CIE-LABlab(44.70, -44.30, 40.97)
CIE-LCHlch(44.70, 60.34, 137.23°)
OKLaboklab(50.87% -0.1205 0.0927)
OKLCHoklch(50.87% 0.152 142.4)
XYZxyz(7.8080, 14.3303, 3.5167)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A1D #761D7A
analogous
#507A1D #217A1D #1D7A47
triadic
#217A1D #1D217A #7A1D21
tetradic
#217A1D #1D507A #761D7A #7A471D
square
#217A1D #1D507A #761D7A #7A471D
split-complementary
#217A1D #471D7A #7A1D50
monochromatic
#071906 #144911 #217A1D #2EAB29 #46D240

Accessibility & contrast

On white

5.43
#217A1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#217A1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A1D
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A1D#FFFFFF#000000##FFFFFF
##217A1D1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E0B
Deuteranopia (green-blind)
#736727
Tritanopia (blue-blind)
#067668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217a1d;
/* rgb */ color: rgb(33, 122, 29);
/* oklch */ color: oklch(50.9% 0.152 142.4);
Tailwind
colors: {
  custom: {
    50: '#6ba160',
    500: '#217a1d',
    950: '#000000',
  },
}
SCSS
$custom: #217a1d;
$custom-light: #6ba160;
$custom-dark: #000000;
JSON
{
  "hex": "#217a1d",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 29
  },
  "hsl": {
    "h": 117.419,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50874,
    "c": 0.152,
    "h": 142.4
  },
  "luminance": 0.14331
}

Semantic roles & 50–950 ramp

primary
#217A1D
secondary
#A945AE
accent
#43E5DE
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #217A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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