#218517#218517

#218517 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.0% C 0.168 H 141.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#218517
RGBrgb(33, 133, 23)
HSLhsl(115, 71%, 31%)
HSVhsv(115, 83%, 52%)
CMYKcmyk(75.2%, 0%, 82.7%, 47.8%)
CIE-LABlab(48.46, -48.53, 46.71)
CIE-LCHlch(48.46, 67.36, 136.09°)
OKLaboklab(53.98% -0.1322 0.1038)
OKLCHoklch(53.98% 0.168 141.9)
XYZxyz(9.1689, 17.1592, 3.6393)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218517 #7B1785
analogous
#588517 #218517 #178544
triadic
#218517 #172185 #851721
tetradic
#218517 #175885 #7B1785 #854417
square
#218517 #175885 #7B1785 #854417
split-complementary
#218517 #441785 #851758
monochromatic
#071D05 #14510E #218517 #2EB920 #48DD3A

Accessibility & contrast

On white

4.74
#218517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#218517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218517
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218517#FFFFFF#000000##FFFFFF
##2185171.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #218517;
/* rgb */ color: rgb(33, 133, 23);
/* oklch */ color: oklch(54.0% 0.168 141.9);
Tailwind
colors: {
  custom: {
    50: '#6eaa5e',
    500: '#218517',
    950: '#000000',
  },
}
SCSS
$custom: #218517;
$custom-light: #6eaa5e;
$custom-dark: #000000;
JSON
{
  "hex": "#218517",
  "rgb": {
    "r": 33,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 114.545,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53982,
    "c": 0.16811,
    "h": 141.9
  },
  "luminance": 0.1716
}

Semantic roles & 50–950 ramp

primary
#218517
secondary
#AE3FB9
accent
#3BEDDD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #218517

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

Preview Lab → · Contrast checker → · Palette generator →

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