#218821#218821

#218821 is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.9% C 0.166 H 142.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#218821
RGBrgb(33, 136, 33)
HSLhsl(120, 61%, 33%)
HSVhsv(120, 76%, 53%)
CMYKcmyk(75.7%, 0%, 75.7%, 46.7%)
CIE-LABlab(49.55, -48.82, 44.33)
CIE-LCHlch(49.55, 65.94, 137.76°)
OKLaboklab(54.9% -0.1325 0.1003)
OKLCHoklch(54.9% 0.166 142.9)
XYZxyz(9.7053, 18.0404, 4.4092)
Luminance0.1804 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218821 #882188
analogous
#548821 #218821 #218854
triadic
#218821 #212188 #882121
tetradic
#218821 #215488 #882188 #885421
square
#218821 #215488 #882188 #885421
split-complementary
#218821 #542188 #882154
monochromatic
#092509 #155715 #218821 #2DB92D #4FD44F

Accessibility & contrast

On white

4.56
#218821 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#218821 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218821
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218821#FFFFFF#000000##000000
##2188211.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0D
Deuteranopia (green-blind)
#7F732C
Tritanopia (blue-blind)
#008474
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #218821;
/* rgb */ color: rgb(33, 136, 33);
/* oklch */ color: oklch(54.9% 0.166 142.9);
Tailwind
colors: {
  custom: {
    50: '#6eac63',
    500: '#218821',
    950: '#000000',
  },
}
SCSS
$custom: #218821;
$custom-light: #6eac63;
$custom-dark: #000000;
JSON
{
  "hex": "#218821",
  "rgb": {
    "r": 33,
    "g": 136,
    "b": 33
  },
  "hsl": {
    "h": 120,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54902,
    "c": 0.16618,
    "h": 142.9
  },
  "luminance": 0.18041
}

Semantic roles & 50–950 ramp

primary
#218821
secondary
#B84DB8
accent
#44E4E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #218821

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

Preview Lab → · Contrast checker → · Palette generator →

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