#218222#218222

#218222 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.2% C 0.158 H 143.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#218222
RGBrgb(33, 130, 34)
HSLhsl(121, 60%, 32%)
HSVhsv(121, 75%, 51%)
CMYKcmyk(74.6%, 0%, 73.8%, 49%)
CIE-LABlab(47.50, -46.67, 41.85)
CIE-LCHlch(47.50, 62.69, 138.12°)
OKLaboklab(53.21% -0.1267 0.0952)
OKLCHoklch(53.21% 0.158 143.1)
XYZxyz(8.8980, 16.4031, 4.2102)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218222 #822181
analogous
#508221 #218222 #218253
triadic
#218222 #222182 #822221
tetradic
#218222 #215082 #822181 #825321
square
#218222 #215082 #822181 #825321
split-complementary
#218222 #532182 #822150
monochromatic
#082008 #155115 #218222 #2DB32F #4CD24D

Accessibility & contrast

On white

4.91
#218222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#218222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218222
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218222#FFFFFF#000000##FFFFFF
##2182221.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857512
Deuteranopia (green-blind)
#7A6E2C
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #218222;
/* rgb */ color: rgb(33, 130, 34);
/* oklch */ color: oklch(53.2% 0.158 143.1);
Tailwind
colors: {
  custom: {
    50: '#6da763',
    500: '#218222',
    950: '#000000',
  },
}
SCSS
$custom: #218222;
$custom-light: #6da763;
$custom-dark: #000000;
JSON
{
  "hex": "#218222",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 120.619,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53206,
    "c": 0.15845,
    "h": 143.1
  },
  "luminance": 0.16404
}

Semantic roles & 50–950 ramp

primary
#218222
secondary
#B44AB3
accent
#45E1E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #218222

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

Preview Lab → · Contrast checker → · Palette generator →

#218222 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva