#217218#217218

#217218 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.145 H 141.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#217218
RGBrgb(33, 114, 24)
HSLhsl(114, 65%, 27%)
HSVhsv(114, 79%, 45%)
CMYKcmyk(71.1%, 0%, 78.9%, 55.3%)
CIE-LABlab(41.88, -41.83, 40.05)
CIE-LCHlch(41.88, 57.91, 136.25°)
OKLaboklab(48.52% -0.1141 0.09)
OKLCHoklch(48.52% 0.145 141.7)
XYZxyz(6.8090, 12.4232, 2.9031)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217218 #691872
analogous
#4E7218 #217218 #18723C
triadic
#217218 #182172 #721821
tetradic
#217218 #184E72 #691872 #723C18
square
#217218 #184E72 #691872 #723C18
split-complementary
#217218 #3C1872 #72184E
monochromatic
#071905 #123F0D #217218 #30A523 #41D431

Accessibility & contrast

On white

6.03
#217218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#217218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217218
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217218#FFFFFF#000000##FFFFFF
##2172181.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756705
Deuteranopia (green-blind)
#6B6022
Tritanopia (blue-blind)
#0E6E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #217218;
/* rgb */ color: rgb(33, 114, 24);
/* oklch */ color: oklch(48.5% 0.145 141.7);
Tailwind
colors: {
  custom: {
    50: '#699b5c',
    500: '#217218',
    950: '#000000',
  },
}
SCSS
$custom: #217218;
$custom-light: #699b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#217218",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 114,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48523,
    "c": 0.14532,
    "h": 141.7
  },
  "luminance": 0.12424
}

Semantic roles & 50–950 ramp

primary
#217218
secondary
#9D3EA7
accent
#40E8D7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #217218

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

Preview Lab → · Contrast checker → · Palette generator →

#217218 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva