#218221#218221

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

Color values

HEX#218221
RGBrgb(33, 130, 33)
HSLhsl(120, 60%, 32%)
HSVhsv(120, 75%, 51%)
CMYKcmyk(74.6%, 0%, 74.6%, 49%)
CIE-LABlab(47.49, -46.76, 42.24)
CIE-LCHlch(47.49, 63.01, 137.91°)
OKLaboklab(53.2% -0.1269 0.0959)
OKLCHoklch(53.2% 0.159 142.9)
XYZxyz(8.8838, 16.3974, 4.1354)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218221 #822182
analogous
#528221 #218221 #218252
triadic
#218221 #212182 #822121
tetradic
#218221 #215282 #822182 #825221
square
#218221 #215282 #822182 #825221
split-complementary
#218221 #522182 #822152
monochromatic
#082008 #155115 #218221 #2DB32D #4CD24C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218221#FFFFFF#000000##FFFFFF
##2182211.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)
#857510
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #218221;
/* rgb */ color: rgb(33, 130, 33);
/* oklch */ color: oklch(53.2% 0.159 142.9);
Tailwind
colors: {
  custom: {
    50: '#6da763',
    500: '#218221',
    950: '#000000',
  },
}
SCSS
$custom: #218221;
$custom-light: #6da763;
$custom-dark: #000000;
JSON
{
  "hex": "#218221",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 120,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53197,
    "c": 0.15909,
    "h": 142.9
  },
  "luminance": 0.16398
}

Semantic roles & 50–950 ramp

primary
#218221
secondary
#B44AB4
accent
#45E3E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #218221

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

Preview Lab → · Contrast checker → · Palette generator →

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