#217B3D#217B3D

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

Color values

HEX#217B3D
RGBrgb(33, 123, 61)
HSLhsl(139, 58%, 31%)
HSVhsv(139, 73%, 48%)
CMYKcmyk(73.2%, 0%, 50.4%, 51.8%)
CIE-LABlab(45.39, -40.58, 26.41)
CIE-LCHlch(45.39, 48.41, 146.95°)
OKLaboklab(51.56% -0.1092 0.0643)
OKLCHoklch(51.56% 0.127 149.5)
XYZxyz(8.5518, 14.8252, 6.8248)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B3D #7B215F
analogous
#327B21 #217B3D #217B6A
triadic
#217B3D #3D217B #7B3D21
tetradic
#217B3D #21327B #7B215F #7B6A21
square
#217B3D #21327B #7B215F #7B6A21
split-complementary
#217B3D #6A217B #7B2132
monochromatic
#071A0D #144B25 #217B3D #2EAB55 #48CE72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217B3D#FFFFFF#000000##FFFFFF
##217B3D1.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)
#7C7038
Deuteranopia (green-blind)
#716841
Tritanopia (blue-blind)
#00796C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217b3d;
/* rgb */ color: rgb(33, 123, 61);
/* oklch */ color: oklch(51.6% 0.127 149.5);
Tailwind
colors: {
  custom: {
    50: '#6aa274',
    500: '#217b3d',
    950: '#000000',
  },
}
SCSS
$custom: #217b3d;
$custom-light: #6aa274;
$custom-dark: #000000;
JSON
{
  "hex": "#217b3d",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 61
  },
  "hsl": {
    "h": 138.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51558,
    "c": 0.12675,
    "h": 149.5
  },
  "luminance": 0.14826
}

Semantic roles & 50–950 ramp

primary
#217B3D
secondary
#AE4A8F
accent
#47B1E1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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