#217C2E#217C2E

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

Color values

HEX#217C2E
RGBrgb(33, 124, 46)
HSLhsl(129, 58%, 31%)
HSVhsv(129, 73%, 49%)
CMYKcmyk(73.4%, 0%, 62.9%, 51.4%)
CIE-LABlab(45.55, -43.21, 34.36)
CIE-LCHlch(45.55, 55.20, 141.51°)
OKLaboklab(51.62% -0.1167 0.0808)
OKLCHoklch(51.62% 0.142 145.3)
XYZxyz(8.3274, 14.9350, 5.0281)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C2E #7C216F
analogous
#417C21 #217C2E #217C5B
triadic
#217C2E #2E217C #7C2E21
tetradic
#217C2E #21417C #7C216F #7C5B21
square
#217C2E #21417C #7C216F #7C5B21
split-complementary
#217C2E #5B217C #7C2141
monochromatic
#071B0A #144C1C #217C2E #2EAC40 #49CF5C

Accessibility & contrast

On white

5.27
#217C2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217C2E
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C2E#FFFFFF#000000##FFFFFF
##217C2E1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217c2e;
/* rgb */ color: rgb(33, 124, 46);
/* oklch */ color: oklch(51.6% 0.142 145.3);
Tailwind
colors: {
  custom: {
    50: '#6ba36a',
    500: '#217c2e',
    950: '#000000',
  },
}
SCSS
$custom: #217c2e;
$custom-light: #6ba36a;
$custom-dark: #000000;
JSON
{
  "hex": "#217c2e",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 46
  },
  "hsl": {
    "h": 128.571,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51621,
    "c": 0.14191,
    "h": 145.3
  },
  "luminance": 0.14936
}

Semantic roles & 50–950 ramp

primary
#217C2E
secondary
#AF4AA0
accent
#47CBE1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #217C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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