#218A22#218A22

#218A22 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.168 H 143.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#218A22
RGBrgb(33, 138, 34)
HSLhsl(121, 61%, 34%)
HSVhsv(121, 76%, 54%)
CMYKcmyk(76.1%, 0%, 75.4%, 45.9%)
CIE-LABlab(50.23, -49.42, 44.65)
CIE-LCHlch(50.23, 66.60, 137.90°)
OKLaboklab(55.48% -0.1341 0.1011)
OKLCHoklch(55.48% 0.168 143)
XYZxyz(10.0038, 18.6146, 4.5788)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218A22 #8A2189
analogous
#548A21 #218A22 #218A56
triadic
#218A22 #22218A #8A2221
tetradic
#218A22 #21548A #8A2189 #8A5621
square
#218A22 #21548A #8A2189 #8A5621
split-complementary
#218A22 #56218A #8A2154
monochromatic
#09270A #155916 #218A22 #2DBB2E #50D551

Accessibility & contrast

On white

4.45
#218A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#218A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218A22
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218A22#FFFFFF#000000##000000
##218A221.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0E
Deuteranopia (green-blind)
#81742D
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #218a22;
/* rgb */ color: rgb(33, 138, 34);
/* oklch */ color: oklch(55.5% 0.168 143.0);
Tailwind
colors: {
  custom: {
    50: '#6fad64',
    500: '#218a22',
    950: '#000000',
  },
}
SCSS
$custom: #218a22;
$custom-light: #6fad64;
$custom-dark: #000000;
JSON
{
  "hex": "#218a22",
  "rgb": {
    "r": 33,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 120.571,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55476,
    "c": 0.16791,
    "h": 143
  },
  "luminance": 0.18616
}

Semantic roles & 50–950 ramp

primary
#218A22
secondary
#B94EB8
accent
#43E3E5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #218A22

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

Preview Lab → · Contrast checker → · Palette generator →

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