#218D22#218D22

#218D22 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.171 H 143.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#218D22
RGBrgb(33, 141, 34)
HSLhsl(121, 62%, 34%)
HSVhsv(121, 77%, 55%)
CMYKcmyk(76.6%, 0%, 75.9%, 44.7%)
CIE-LABlab(51.25, -50.43, 45.67)
CIE-LCHlch(51.25, 68.04, 137.83°)
OKLaboklab(56.32% -0.1368 0.1032)
OKLCHoklch(56.32% 0.171 143)
XYZxyz(10.4402, 19.4874, 4.7243)
Luminance0.1949 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218D22 #8D218C
analogous
#568D21 #218D22 #218D58
triadic
#218D22 #22218D #8D2221
tetradic
#218D22 #21568D #8D218C #8D5821
square
#218D22 #21568D #8D218C #8D5821
split-complementary
#218D22 #58218D #8D2156
monochromatic
#0A2A0A #155B16 #218D22 #2DBF2E #52D653

Accessibility & contrast

On white

4.29
#218D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#218D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218D22
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218D22#FFFFFF#000000##000000
##218D221.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#84772D
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #218d22;
/* rgb */ color: rgb(33, 141, 34);
/* oklch */ color: oklch(56.3% 0.171 143.0);
Tailwind
colors: {
  custom: {
    50: '#70af65',
    500: '#218d22',
    950: '#000000',
  },
}
SCSS
$custom: #218d22;
$custom-light: #70af65;
$custom-dark: #000000;
JSON
{
  "hex": "#218d22",
  "rgb": {
    "r": 33,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 120.556,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56323,
    "c": 0.17139,
    "h": 143
  },
  "luminance": 0.19489
}

Semantic roles & 50–950 ramp

primary
#218D22
secondary
#BA50B9
accent
#43E4E5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #218D22

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

Preview Lab → · Contrast checker → · Palette generator →

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