#218E22#218E22

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

Color values

HEX#218E22
RGBrgb(33, 142, 34)
HSLhsl(121, 62%, 34%)
HSVhsv(121, 77%, 56%)
CMYKcmyk(76.8%, 0%, 76.1%, 44.3%)
CIE-LABlab(51.59, -50.76, 46.01)
CIE-LCHlch(51.59, 68.51, 137.81°)
OKLaboklab(56.6% -0.1377 0.1039)
OKLCHoklch(56.6% 0.173 143)
XYZxyz(10.5883, 19.7836, 4.7737)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218E22 #8E218D
analogous
#578E21 #218E22 #218E58
triadic
#218E22 #22218E #8E2221
tetradic
#218E22 #21578E #8E218D #8E5821
square
#218E22 #21578E #8E218D #8E5821
split-complementary
#218E22 #58218E #8E2157
monochromatic
#0A2B0A #155C16 #218E22 #2DC02E #52D754

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #218e22;
/* rgb */ color: rgb(33, 142, 34);
/* oklch */ color: oklch(56.6% 0.173 143.0);
Tailwind
colors: {
  custom: {
    50: '#70b065',
    500: '#218e22',
    950: '#000000',
  },
}
SCSS
$custom: #218e22;
$custom-light: #70b065;
$custom-dark: #000000;
JSON
{
  "hex": "#218e22",
  "rgb": {
    "r": 33,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 120.55,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56604,
    "c": 0.17254,
    "h": 143
  },
  "luminance": 0.19785
}

Semantic roles & 50–950 ramp

primary
#218E22
secondary
#BA50B9
accent
#42E4E5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #218E22

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

Preview Lab → · Contrast checker → · Palette generator →

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