#218E38#218E38

#218E38 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.157 H 146.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#218E38
RGBrgb(33, 142, 56)
HSLhsl(133, 62%, 34%)
HSVhsv(133, 77%, 56%)
CMYKcmyk(76.8%, 0%, 60.6%, 44.3%)
CIE-LABlab(51.78, -48.42, 36.71)
CIE-LCHlch(51.78, 60.76, 142.83°)
OKLaboklab(56.83% -0.1304 0.0867)
OKLCHoklch(56.83% 0.157 146.4)
XYZxyz(11.0132, 19.9536, 7.0116)
Luminance0.1996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218E38 #8E2177
analogous
#408E21 #218E38 #218E6F
triadic
#218E38 #38218E #8E3821
tetradic
#218E38 #21408E #8E2177 #8E6F21
square
#218E38 #21408E #8E2177 #8E6F21
split-complementary
#218E38 #6F218E #8E2140
monochromatic
#0A2B11 #155C24 #218E38 #2DC04C #52D76E

Accessibility & contrast

On white

4.21
#218E38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#218E38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218E38
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218E38#FFFFFF#000000##000000
##218E381.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90812F
Deuteranopia (green-blind)
#84783F
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #218e38;
/* rgb */ color: rgb(33, 142, 56);
/* oklch */ color: oklch(56.8% 0.157 146.4);
Tailwind
colors: {
  custom: {
    50: '#6fb071',
    500: '#218e38',
    950: '#000000',
  },
}
SCSS
$custom: #218e38;
$custom-light: #6fb071;
$custom-dark: #000000;
JSON
{
  "hex": "#218e38",
  "rgb": {
    "r": 33,
    "g": 142,
    "b": 56
  },
  "hsl": {
    "h": 132.661,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56827,
    "c": 0.15662,
    "h": 146.4
  },
  "luminance": 0.19955
}

Semantic roles & 50–950 ramp

primary
#218E38
secondary
#BA50A4
accent
#42C3E5
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081108
muted
#7B807B

Preview Lab

Preview with #218E38

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

Preview Lab → · Contrast checker → · Palette generator →

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