#217C1D#217C1D

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

Color values

HEX#217C1D
RGBrgb(33, 124, 29)
HSLhsl(117, 62%, 30%)
HSVhsv(117, 77%, 49%)
CMYKcmyk(73.4%, 0%, 76.6%, 51.4%)
CIE-LABlab(45.40, -45.00, 41.67)
CIE-LCHlch(45.40, 61.33, 137.20°)
OKLaboklab(51.45% -0.1224 0.0942)
OKLCHoklch(51.45% 0.154 142.4)
XYZxyz(8.0561, 14.8265, 3.5994)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C1D #781D7C
analogous
#507C1D #217C1D #1D7C49
triadic
#217C1D #1D217C #7C1D21
tetradic
#217C1D #1D507C #781D7C #7C491D
square
#217C1D #1D507C #781D7C #7C491D
split-complementary
#217C1D #491D7C #7C1D50
monochromatic
#071906 #144A11 #217C1D #2EAE29 #47D341

Accessibility & contrast

On white

5.30
#217C1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217C1D
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C1D#FFFFFF#000000##FFFFFF
##217C1D1.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700A
Deuteranopia (green-blind)
#746927
Tritanopia (blue-blind)
#05786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217c1d;
/* rgb */ color: rgb(33, 124, 29);
/* oklch */ color: oklch(51.4% 0.154 142.4);
Tailwind
colors: {
  custom: {
    50: '#6ca360',
    500: '#217c1d',
    950: '#000000',
  },
}
SCSS
$custom: #217c1d;
$custom-light: #6ca360;
$custom-dark: #000000;
JSON
{
  "hex": "#217c1d",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 29
  },
  "hsl": {
    "h": 117.474,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.51449,
    "c": 0.15441,
    "h": 142.4
  },
  "luminance": 0.14827
}

Semantic roles & 50–950 ramp

primary
#217C1D
secondary
#AB45B0
accent
#43E5DE
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #217C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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