#218917#218917

#218917 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.1% C 0.173 H 141.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#218917
RGBrgb(33, 137, 23)
HSLhsl(115, 71%, 31%)
HSVhsv(115, 83%, 54%)
CMYKcmyk(75.9%, 0%, 83.2%, 46.3%)
CIE-LABlab(49.83, -49.87, 47.99)
CIE-LCHlch(49.83, 69.21, 136.10°)
OKLaboklab(55.12% -0.1358 0.1065)
OKLCHoklch(55.12% 0.173 141.9)
XYZxyz(9.7269, 18.2754, 3.8253)
Luminance0.1828 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218917 #7F1789
analogous
#5A8917 #218917 #178946
triadic
#218917 #172189 #891721
tetradic
#218917 #175A89 #7F1789 #894617
square
#218917 #175A89 #7F1789 #894617
split-complementary
#218917 #461789 #89175A
monochromatic
#082005 #14550E #218917 #2EBD20 #4ADE3C

Accessibility & contrast

On white

4.51
#218917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#218917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218917
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218917#FFFFFF#000000##000000
##2189171.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#817325
Tritanopia (blue-blind)
#008574
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #218917;
/* rgb */ color: rgb(33, 137, 23);
/* oklch */ color: oklch(55.1% 0.173 141.9);
Tailwind
colors: {
  custom: {
    50: '#6fac5f',
    500: '#218917',
    950: '#000000',
  },
}
SCSS
$custom: #218917;
$custom-light: #6fac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#218917",
  "rgb": {
    "r": 33,
    "g": 137,
    "b": 23
  },
  "hsl": {
    "h": 114.737,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55119,
    "c": 0.1726,
    "h": 141.9
  },
  "luminance": 0.18277
}

Semantic roles & 50–950 ramp

primary
#218917
secondary
#B23FBD
accent
#3AEEDE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #218917

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

Preview Lab → · Contrast checker → · Palette generator →

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