#218A42#218A42

#218A42 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.142 H 149.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#218A42
RGBrgb(33, 138, 66)
HSLhsl(139, 61%, 34%)
HSVhsv(139, 76%, 54%)
CMYKcmyk(76.1%, 0%, 52.2%, 45.9%)
CIE-LABlab(50.56, -45.49, 30.18)
CIE-LCHlch(50.56, 54.59, 146.44°)
OKLaboklab(55.85% -0.1223 0.0731)
OKLCHoklch(55.85% 0.142 149.2)
XYZxyz(10.6982, 18.8924, 8.2360)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218A42 #8A2169
analogous
#348A21 #218A42 #218A76
triadic
#218A42 #42218A #8A4221
tetradic
#218A42 #21348A #8A2169 #8A7621
square
#218A42 #21348A #8A2169 #8A7621
split-complementary
#218A42 #76218A #8A2134
monochromatic
#092713 #15592A #218A42 #2DBB5A #50D57A

Accessibility & contrast

On white

4.39
#218A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#218A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218A42
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218A42#FFFFFF#000000##000000
##218A421.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E3C
Deuteranopia (green-blind)
#7F7547
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #218a42;
/* rgb */ color: rgb(33, 138, 66);
/* oklch */ color: oklch(55.9% 0.142 149.2);
Tailwind
colors: {
  custom: {
    50: '#6dad78',
    500: '#218a42',
    950: '#000000',
  },
}
SCSS
$custom: #218a42;
$custom-light: #6dad78;
$custom-dark: #000000;
JSON
{
  "hex": "#218a42",
  "rgb": {
    "r": 33,
    "g": 138,
    "b": 66
  },
  "hsl": {
    "h": 138.857,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55854,
    "c": 0.14247,
    "h": 149.2
  },
  "luminance": 0.18894
}

Semantic roles & 50–950 ramp

primary
#218A42
secondary
#B94E97
accent
#43B2E5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #218A42

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

Preview Lab → · Contrast checker → · Palette generator →

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