#218D42#218D42

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

Color values

HEX#218D42
RGBrgb(33, 141, 66)
HSLhsl(138, 62%, 34%)
HSVhsv(138, 77%, 55%)
CMYKcmyk(76.6%, 0%, 53.2%, 44.7%)
CIE-LABlab(51.57, -46.60, 31.42)
CIE-LCHlch(51.57, 56.21, 146.01°)
OKLaboklab(56.69% -0.1253 0.0758)
OKLCHoklch(56.69% 0.146 148.8)
XYZxyz(11.1346, 19.7651, 8.3814)
Luminance0.1977 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218D42 #8D216C
analogous
#368D21 #218D42 #218D78
triadic
#218D42 #42218D #8D4221
tetradic
#218D42 #21368D #8D216C #8D7821
square
#218D42 #21368D #8D216C #8D7821
split-complementary
#218D42 #78218D #8D2136
monochromatic
#0A2A14 #155B2B #218D42 #2DBF59 #52D67A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218D42#FFFFFF#000000##000000
##218D421.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)
#8E803B
Deuteranopia (green-blind)
#827748
Tritanopia (blue-blind)
#008A7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #218d42;
/* rgb */ color: rgb(33, 141, 66);
/* oklch */ color: oklch(56.7% 0.146 148.8);
Tailwind
colors: {
  custom: {
    50: '#6eaf78',
    500: '#218d42',
    950: '#000000',
  },
}
SCSS
$custom: #218d42;
$custom-light: #6eaf78;
$custom-dark: #000000;
JSON
{
  "hex": "#218d42",
  "rgb": {
    "r": 33,
    "g": 141,
    "b": 66
  },
  "hsl": {
    "h": 138.333,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56689,
    "c": 0.14646,
    "h": 148.8
  },
  "luminance": 0.19766
}

Semantic roles & 50–950 ramp

primary
#218D42
secondary
#BA509A
accent
#43B3E5
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #218D42

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

Preview Lab → · Contrast checker → · Palette generator →

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