#218E21#218E21

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

Color values

HEX#218E21
RGBrgb(33, 142, 33)
HSLhsl(120, 62%, 34%)
HSVhsv(120, 77%, 56%)
CMYKcmyk(76.8%, 0%, 76.8%, 44.3%)
CIE-LABlab(51.59, -50.84, 46.37)
CIE-LCHlch(51.59, 68.81, 137.63°)
OKLaboklab(56.6% -0.138 0.1045)
OKLCHoklch(56.6% 0.173 142.9)
XYZxyz(10.5741, 19.7779, 4.6988)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218E21 #8E218E
analogous
#588E21 #218E21 #218E58
triadic
#218E21 #21218E #8E2121
tetradic
#218E21 #21588E #8E218E #8E5821
square
#218E21 #21588E #8E218E #8E5821
split-complementary
#218E21 #58218E #8E2158
monochromatic
#0A2B0A #155C15 #218E21 #2DC02D #52D752

Accessibility & contrast

On white

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

On black

4.96
#218E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218E21
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218E21#FFFFFF#000000##000000
##218E211.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800A
Deuteranopia (green-blind)
#85782D
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #218e21;
/* rgb */ color: rgb(33, 142, 33);
/* oklch */ color: oklch(56.6% 0.173 142.9);
Tailwind
colors: {
  custom: {
    50: '#70b064',
    500: '#218e21',
    950: '#000000',
  },
}
SCSS
$custom: #218e21;
$custom-light: #70b064;
$custom-dark: #000000;
JSON
{
  "hex": "#218e21",
  "rgb": {
    "r": 33,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 120,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56597,
    "c": 0.17312,
    "h": 142.9
  },
  "luminance": 0.19779
}

Semantic roles & 50–950 ramp

primary
#218E21
secondary
#BA50BA
accent
#42E5E5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #218E21

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

Preview Lab → · Contrast checker → · Palette generator →

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