#217B3F#217B3F

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

Color values

HEX#217B3F
RGBrgb(33, 123, 63)
HSLhsl(140, 58%, 31%)
HSVhsv(140, 73%, 48%)
CMYKcmyk(73.2%, 0%, 48.8%, 51.8%)
CIE-LABlab(45.42, -40.23, 25.35)
CIE-LCHlch(45.42, 47.55, 147.78°)
OKLaboklab(51.59% -0.1083 0.062)
OKLCHoklch(51.59% 0.125 150.2)
XYZxyz(8.6067, 14.8472, 7.1139)
Luminance0.1485 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B3F #7B215D
analogous
#307B21 #217B3F #217B6C
triadic
#217B3F #3F217B #7B3F21
tetradic
#217B3F #21307B #7B215D #7B6C21
square
#217B3F #21307B #7B215D #7B6C21
split-complementary
#217B3F #6C217B #7B2130
monochromatic
#071A0E #144B26 #217B3F #2EAB58 #48CE75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217B3F#FFFFFF#000000##FFFFFF
##217B3F1.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)
#7C703A
Deuteranopia (green-blind)
#716843
Tritanopia (blue-blind)
#00796D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217b3f;
/* rgb */ color: rgb(33, 123, 63);
/* oklch */ color: oklch(51.6% 0.125 150.2);
Tailwind
colors: {
  custom: {
    50: '#6aa275',
    500: '#217b3f',
    950: '#000000',
  },
}
SCSS
$custom: #217b3f;
$custom-light: #6aa275;
$custom-dark: #000000;
JSON
{
  "hex": "#217b3f",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 63
  },
  "hsl": {
    "h": 140,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51593,
    "c": 0.1248,
    "h": 150.2
  },
  "luminance": 0.14848
}

Semantic roles & 50–950 ramp

primary
#217B3F
secondary
#AE4A8D
accent
#47AEE1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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