#218E40#218E40

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

Color values

HEX#218E40
RGBrgb(33, 142, 64)
HSLhsl(137, 62%, 34%)
HSVhsv(137, 77%, 56%)
CMYKcmyk(76.8%, 0%, 54.9%, 44.3%)
CIE-LABlab(51.88, -47.28, 32.83)
CIE-LCHlch(51.88, 57.56, 145.22°)
OKLaboklab(56.94% -0.1272 0.0789)
OKLCHoklch(56.94% 0.15 148.2)
XYZxyz(11.2247, 20.0382, 8.1257)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218E40 #8E216F
analogous
#398E21 #218E40 #218E77
triadic
#218E40 #40218E #8E4021
tetradic
#218E40 #21398E #8E216F #8E7721
square
#218E40 #21398E #8E216F #8E7721
split-complementary
#218E40 #77218E #8E2139
monochromatic
#0A2B13 #155C2A #218E40 #2DC056 #52D778

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218E40#FFFFFF#000000##000000
##218E401.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)
#8F8139
Deuteranopia (green-blind)
#837846
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #218e40;
/* rgb */ color: rgb(33, 142, 64);
/* oklch */ color: oklch(56.9% 0.150 148.2);
Tailwind
colors: {
  custom: {
    50: '#6eb077',
    500: '#218e40',
    950: '#000000',
  },
}
SCSS
$custom: #218e40;
$custom-light: #6eb077;
$custom-dark: #000000;
JSON
{
  "hex": "#218e40",
  "rgb": {
    "r": 33,
    "g": 142,
    "b": 64
  },
  "hsl": {
    "h": 137.064,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56937,
    "c": 0.14961,
    "h": 148.2
  },
  "luminance": 0.2004
}

Semantic roles & 50–950 ramp

primary
#218E40
secondary
#BA509C
accent
#42B7E5
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081109
muted
#7B807B

Preview Lab

Preview with #218E40

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

Preview Lab → · Contrast checker → · Palette generator →

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