#217C2F#217C2F

#217C2F is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.141 H 145.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#217C2F
RGBrgb(33, 124, 47)
HSLhsl(129, 58%, 31%)
HSVhsv(129, 73%, 49%)
CMYKcmyk(73.4%, 0%, 62.1%, 51.4%)
CIE-LABlab(45.56, -43.08, 33.88)
CIE-LCHlch(45.56, 54.81, 141.81°)
OKLaboklab(51.63% -0.1163 0.0798)
OKLCHoklch(51.63% 0.141 145.5)
XYZxyz(8.3474, 14.9429, 5.1331)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C2F #7C216E
analogous
#407C21 #217C2F #217C5C
triadic
#217C2F #2F217C #7C2F21
tetradic
#217C2F #21407C #7C216E #7C5C21
square
#217C2F #21407C #7C216E #7C5C21
split-complementary
#217C2F #5C217C #7C2140
monochromatic
#071B0A #144C1D #217C2F #2EAC41 #49CF5D

Accessibility & contrast

On white

5.26
#217C2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#217C2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217C2F
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C2F#FFFFFF#000000##FFFFFF
##217C2F1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7027
Deuteranopia (green-blind)
#736935
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217c2f;
/* rgb */ color: rgb(33, 124, 47);
/* oklch */ color: oklch(51.6% 0.141 145.5);
Tailwind
colors: {
  custom: {
    50: '#6ba36a',
    500: '#217c2f',
    950: '#000000',
  },
}
SCSS
$custom: #217c2f;
$custom-light: #6ba36a;
$custom-dark: #000000;
JSON
{
  "hex": "#217c2f",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 129.231,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51633,
    "c": 0.14106,
    "h": 145.5
  },
  "luminance": 0.14944
}

Semantic roles & 50–950 ramp

primary
#217C2F
secondary
#AF4A9F
accent
#47C9E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #217C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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