#218E42#218E42

#218E42 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.148 H 148.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#218E42
RGBrgb(33, 142, 66)
HSLhsl(138, 62%, 34%)
HSVhsv(138, 77%, 56%)
CMYKcmyk(76.8%, 0%, 53.5%, 44.3%)
CIE-LABlab(51.91, -46.97, 31.84)
CIE-LCHlch(51.91, 56.74, 145.87°)
OKLaboklab(56.97% -0.1263 0.0768)
OKLCHoklch(56.97% 0.148 148.7)
XYZxyz(11.2827, 20.0614, 8.4308)
Luminance0.2006 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218E42 #8E216D
analogous
#378E21 #218E42 #218E79
triadic
#218E42 #42218E #8E4221
tetradic
#218E42 #21378E #8E216D #8E7921
square
#218E42 #21378E #8E216D #8E7921
split-complementary
#218E42 #79218E #8E2137
monochromatic
#0A2B14 #155C2B #218E42 #2DC059 #52D77B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218E42#FFFFFF#000000##000000
##218E421.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)
#8F813B
Deuteranopia (green-blind)
#837848
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #218e42;
/* rgb */ color: rgb(33, 142, 66);
/* oklch */ color: oklch(57.0% 0.148 148.7);
Tailwind
colors: {
  custom: {
    50: '#6eb078',
    500: '#218e42',
    950: '#000000',
  },
}
SCSS
$custom: #218e42;
$custom-light: #6eb078;
$custom-dark: #000000;
JSON
{
  "hex": "#218e42",
  "rgb": {
    "r": 33,
    "g": 142,
    "b": 66
  },
  "hsl": {
    "h": 138.165,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56967,
    "c": 0.14779,
    "h": 148.7
  },
  "luminance": 0.20063
}

Semantic roles & 50–950 ramp

primary
#218E42
secondary
#BA509A
accent
#42B4E5
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081109
muted
#7B807B

Preview Lab

Preview with #218E42

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

Preview Lab → · Contrast checker → · Palette generator →

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