#217A3F#217A3F

#217A3F is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.123 H 150.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#217A3F
RGBrgb(33, 122, 63)
HSLhsl(140, 57%, 30%)
HSVhsv(140, 73%, 48%)
CMYKcmyk(73%, 0%, 48.4%, 52.2%)
CIE-LABlab(45.08, -39.84, 24.92)
CIE-LCHlch(45.08, 46.99, 147.97°)
OKLaboklab(51.31% -0.1073 0.061)
OKLCHoklch(51.31% 0.123 150.4)
XYZxyz(8.4832, 14.6003, 7.0727)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A3F #7A215C
analogous
#2F7A21 #217A3F #217A6B
triadic
#217A3F #3F217A #7A3F21
tetradic
#217A3F #212F7A #7A215C #7A6B21
square
#217A3F #212F7A #7A215C #7A6B21
split-complementary
#217A3F #6B217A #7A212F
monochromatic
#071A0D #144A26 #217A3F #2EAA58 #48CD75

Accessibility & contrast

On white

5.36
#217A3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#217A3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A3F
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A3F#FFFFFF#000000##FFFFFF
##217A3F1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F3A
Deuteranopia (green-blind)
#706843
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217a3f;
/* rgb */ color: rgb(33, 122, 63);
/* oklch */ color: oklch(51.3% 0.123 150.4);
Tailwind
colors: {
  custom: {
    50: '#6aa175',
    500: '#217a3f',
    950: '#000000',
  },
}
SCSS
$custom: #217a3f;
$custom-light: #6aa175;
$custom-dark: #000000;
JSON
{
  "hex": "#217a3f",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 63
  },
  "hsl": {
    "h": 140.225,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5131,
    "c": 0.12339,
    "h": 150.4
  },
  "luminance": 0.14601
}

Semantic roles & 50–950 ramp

primary
#217A3F
secondary
#AD4A8C
accent
#47ADE1
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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