#217C2B#217C2B

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

Color values

HEX#217C2B
RGBrgb(33, 124, 43)
HSLhsl(127, 58%, 31%)
HSVhsv(127, 73%, 49%)
CMYKcmyk(73.4%, 0%, 65.3%, 51.4%)
CIE-LABlab(45.51, -43.58, 35.76)
CIE-LCHlch(45.51, 56.38, 140.63°)
OKLaboklab(51.58% -0.1178 0.0835)
OKLCHoklch(51.58% 0.144 144.7)
XYZxyz(8.2703, 14.9121, 4.7275)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C2B #7C2172
analogous
#447C21 #217C2B #217C58
triadic
#217C2B #2B217C #7C2B21
tetradic
#217C2B #21447C #7C2172 #7C5821
square
#217C2B #21447C #7C2172 #7C5821
split-complementary
#217C2B #58217C #7C2144
monochromatic
#071B09 #144C1A #217C2B #2EAC3C #49CF58

Accessibility & contrast

On white

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

On black

3.98
#217C2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##217C2B#FFFFFF#000000##FFFFFF
##217C2B1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217c2b;
/* rgb */ color: rgb(33, 124, 43);
/* oklch */ color: oklch(51.6% 0.144 144.7);
Tailwind
colors: {
  custom: {
    50: '#6ba368',
    500: '#217c2b',
    950: '#000000',
  },
}
SCSS
$custom: #217c2b;
$custom-light: #6ba368;
$custom-dark: #000000;
JSON
{
  "hex": "#217c2b",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 43
  },
  "hsl": {
    "h": 126.593,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51584,
    "c": 0.1444,
    "h": 144.7
  },
  "luminance": 0.14913
}

Semantic roles & 50–950 ramp

primary
#217C2B
secondary
#AF4AA4
accent
#47D0E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #217C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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