#218D40#218D40

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

Color values

HEX#218D40
RGBrgb(33, 141, 64)
HSLhsl(137, 62%, 34%)
HSVhsv(137, 77%, 55%)
CMYKcmyk(76.6%, 0%, 54.6%, 44.7%)
CIE-LABlab(51.54, -46.91, 32.42)
CIE-LCHlch(51.54, 57.03, 145.35°)
OKLaboklab(56.66% -0.1262 0.0779)
OKLCHoklch(56.66% 0.148 148.3)
XYZxyz(11.0766, 19.7420, 8.0763)
Luminance0.1974 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218D40 #8D216E
analogous
#388D21 #218D40 #218D76
triadic
#218D40 #40218D #8D4021
tetradic
#218D40 #21388D #8D216E #8D7621
square
#218D40 #21388D #8D216E #8D7621
split-complementary
#218D40 #76218D #8D2138
monochromatic
#0A2A13 #155B29 #218D40 #2DBF57 #52D678

Accessibility & contrast

On white

4.24
#218D40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##218D40#FFFFFF#000000##000000
##218D401.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8039
Deuteranopia (green-blind)
#827746
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #218d40;
/* rgb */ color: rgb(33, 141, 64);
/* oklch */ color: oklch(56.7% 0.148 148.3);
Tailwind
colors: {
  custom: {
    50: '#6eaf77',
    500: '#218d40',
    950: '#000000',
  },
}
SCSS
$custom: #218d40;
$custom-light: #6eaf77;
$custom-dark: #000000;
JSON
{
  "hex": "#218d40",
  "rgb": {
    "r": 33,
    "g": 141,
    "b": 64
  },
  "hsl": {
    "h": 137.222,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56659,
    "c": 0.1483,
    "h": 148.3
  },
  "luminance": 0.19743
}

Semantic roles & 50–950 ramp

primary
#218D40
secondary
#BA509B
accent
#43B7E5
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #218D40

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

Preview Lab → · Contrast checker → · Palette generator →

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