#218E20#218E20

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

Color values

HEX#218E20
RGBrgb(33, 142, 32)
HSLhsl(119, 63%, 34%)
HSVhsv(119, 77%, 56%)
CMYKcmyk(76.8%, 0%, 77.5%, 44.3%)
CIE-LABlab(51.58, -50.92, 46.73)
CIE-LCHlch(51.58, 69.11, 137.46°)
OKLaboklab(56.59% -0.1383 0.1051)
OKLCHoklch(56.59% 0.174 142.8)
XYZxyz(10.5603, 19.7724, 4.6261)
Luminance0.1977 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218E20 #8D208E
analogous
#588E20 #218E20 #208E56
triadic
#218E20 #20218E #8E2021
tetradic
#218E20 #20588E #8D208E #8E5620
square
#218E20 #20588E #8D208E #8E5620
split-complementary
#218E20 #56208E #8E2058
monochromatic
#0A2A09 #155C15 #218E20 #2DC02B #52D851

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218E20#FFFFFF#000000##000000
##218E201.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)
#918007
Deuteranopia (green-blind)
#85782C
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #218e20;
/* rgb */ color: rgb(33, 142, 32);
/* oklch */ color: oklch(56.6% 0.174 142.8);
Tailwind
colors: {
  custom: {
    50: '#70b064',
    500: '#218e20',
    950: '#000000',
  },
}
SCSS
$custom: #218e20;
$custom-light: #70b064;
$custom-dark: #000000;
JSON
{
  "hex": "#218e20",
  "rgb": {
    "r": 33,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 119.455,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5659,
    "c": 0.17368,
    "h": 142.8
  },
  "luminance": 0.19774
}

Semantic roles & 50–950 ramp

primary
#218E20
secondary
#BA4FBB
accent
#42E6E5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #218E20

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

Preview Lab → · Contrast checker → · Palette generator →

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