#217A1C#217A1C

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

Color values

HEX#217A1C
RGBrgb(33, 122, 28)
HSLhsl(117, 63%, 29%)
HSVhsv(117, 77%, 48%)
CMYKcmyk(73%, 0%, 77%, 52.2%)
CIE-LABlab(44.70, -44.38, 41.35)
CIE-LCHlch(44.70, 60.65, 137.03°)
OKLaboklab(50.87% -0.1207 0.0933)
OKLCHoklch(50.87% 0.153 142.3)
XYZxyz(7.7959, 14.3254, 3.4526)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A1C #751C7A
analogous
#507A1C #217A1C #1C7A46
triadic
#217A1C #1C217A #7A1C21
tetradic
#217A1C #1C507A #751C7A #7A461C
square
#217A1C #1C507A #751C7A #7A461C
split-complementary
#217A1C #461C7A #7A1C50
monochromatic
#071906 #144811 #217A1C #2EAC27 #46D33E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217A1C#FFFFFF#000000##FFFFFF
##217A1C1.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)
#7D6E09
Deuteranopia (green-blind)
#736726
Tritanopia (blue-blind)
#077668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217a1c;
/* rgb */ color: rgb(33, 122, 28);
/* oklch */ color: oklch(50.9% 0.153 142.3);
Tailwind
colors: {
  custom: {
    50: '#6ba15f',
    500: '#217a1c',
    950: '#000000',
  },
}
SCSS
$custom: #217a1c;
$custom-light: #6ba15f;
$custom-dark: #000000;
JSON
{
  "hex": "#217a1c",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 28
  },
  "hsl": {
    "h": 116.809,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50866,
    "c": 0.15261,
    "h": 142.3
  },
  "luminance": 0.14326
}

Semantic roles & 50–950 ramp

primary
#217A1C
secondary
#A844AE
accent
#42E6DD
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #217A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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