#218E17#218E17

#218E17 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.178 H 142.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#218E17
RGBrgb(33, 142, 23)
HSLhsl(115, 72%, 32%)
HSVhsv(115, 84%, 56%)
CMYKcmyk(76.8%, 0%, 83.8%, 44.3%)
CIE-LABlab(51.53, -51.52, 49.57)
CIE-LCHlch(51.53, 71.49, 136.10°)
OKLaboklab(56.53% -0.1403 0.1098)
OKLCHoklch(56.53% 0.178 142)
XYZxyz(10.4542, 19.7300, 4.0678)
Luminance0.1973 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218E17 #84178E
analogous
#5D8E17 #218E17 #178E49
triadic
#218E17 #17218E #8E1721
tetradic
#218E17 #175D8E #84178E #8E4917
square
#218E17 #175D8E #84178E #8E4917
split-complementary
#218E17 #49178E #8E175D
monochromatic
#092506 #15590E #218E17 #2DC320 #4DE03F

Accessibility & contrast

On white

4.25
#218E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#218E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218E17
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218E17#FFFFFF#000000##000000
##218E171.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#857826
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #218e17;
/* rgb */ color: rgb(33, 142, 23);
/* oklch */ color: oklch(56.5% 0.178 142.0);
Tailwind
colors: {
  custom: {
    50: '#70b060',
    500: '#218e17',
    950: '#000000',
  },
}
SCSS
$custom: #218e17;
$custom-light: #70b060;
$custom-dark: #000000;
JSON
{
  "hex": "#218e17",
  "rgb": {
    "r": 33,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 114.958,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56534,
    "c": 0.17814,
    "h": 142
  },
  "luminance": 0.19731
}

Semantic roles & 50–950 ramp

primary
#218E17
secondary
#B640C0
accent
#39EFE0
background
#F7FBF5
surface
#EDF6EA
border
#C8D0C6
text
#091105
muted
#7B8079

Preview Lab

Preview with #218E17

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

Preview Lab → · Contrast checker → · Palette generator →

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