#218F17#218F17

#218F17 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.179 H 142.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#218F17
RGBrgb(33, 143, 23)
HSLhsl(115, 72%, 33%)
HSVhsv(115, 84%, 56%)
CMYKcmyk(76.9%, 0%, 83.9%, 43.9%)
CIE-LABlab(51.87, -51.84, 49.89)
CIE-LCHlch(51.87, 71.95, 136.10°)
OKLaboklab(56.82% -0.1412 0.1104)
OKLCHoklch(56.82% 0.179 142)
XYZxyz(10.6037, 20.0289, 4.1176)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218F17 #85178F
analogous
#5D8F17 #218F17 #178F49
triadic
#218F17 #17218F #8F1721
tetradic
#218F17 #175D8F #85178F #8F4917
square
#218F17 #175D8F #85178F #8F4917
split-complementary
#218F17 #49178F #8F175D
monochromatic
#092606 #155A0F #218F17 #2DC41F #4DE040

Accessibility & contrast

On white

4.19
#218F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#218F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218F17
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218F17#FFFFFF#000000##000000
##218F171.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #218f17;
/* rgb */ color: rgb(33, 143, 23);
/* oklch */ color: oklch(56.8% 0.179 142.0);
Tailwind
colors: {
  custom: {
    50: '#71b160',
    500: '#218f17',
    950: '#000000',
  },
}
SCSS
$custom: #218f17;
$custom-light: #71b160;
$custom-dark: #000000;
JSON
{
  "hex": "#218f17",
  "rgb": {
    "r": 33,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 115,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56816,
    "c": 0.17924,
    "h": 142
  },
  "luminance": 0.2003
}

Semantic roles & 50–950 ramp

primary
#218F17
secondary
#B641C1
accent
#39EFE0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #218F17

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

Preview Lab → · Contrast checker → · Palette generator →

#218F17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva