#217C1E#217C1E

#217C1E is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.154 H 142.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#217C1E
RGBrgb(33, 124, 30)
HSLhsl(118, 61%, 30%)
HSVhsv(118, 76%, 49%)
CMYKcmyk(73.4%, 0%, 75.8%, 51.4%)
CIE-LABlab(45.40, -44.92, 41.29)
CIE-LCHlch(45.40, 61.01, 137.41°)
OKLaboklab(51.46% -0.1221 0.0935)
OKLCHoklch(51.46% 0.154 142.6)
XYZxyz(8.0687, 14.8315, 3.6656)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C1E #791E7C
analogous
#507C1E #217C1E #1E7C4A
triadic
#217C1E #1E217C #7C1E21
tetradic
#217C1E #1E507C #791E7C #7C4A1E
square
#217C1E #1E507C #791E7C #7C4A1E
split-complementary
#217C1E #4A1E7C #7C1E50
monochromatic
#071906 #144B12 #217C1E #2EAD2A #47D143

Accessibility & contrast

On white

5.29
#217C1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#217C1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217C1E
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C1E#FFFFFF#000000##FFFFFF
##217C1E1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700D
Deuteranopia (green-blind)
#746928
Tritanopia (blue-blind)
#04786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217c1e;
/* rgb */ color: rgb(33, 124, 30);
/* oklch */ color: oklch(51.5% 0.154 142.6);
Tailwind
colors: {
  custom: {
    50: '#6ca360',
    500: '#217c1e',
    950: '#000000',
  },
}
SCSS
$custom: #217c1e;
$custom-light: #6ca360;
$custom-dark: #000000;
JSON
{
  "hex": "#217c1e",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 30
  },
  "hsl": {
    "h": 118.085,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51457,
    "c": 0.15379,
    "h": 142.6
  },
  "luminance": 0.14832
}

Semantic roles & 50–950 ramp

primary
#217C1E
secondary
#AC46AF
accent
#44E4DF
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #217C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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