#218C21#218C21

#218C21 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.0% C 0.171 H 142.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#218C21
RGBrgb(33, 140, 33)
HSLhsl(120, 62%, 34%)
HSVhsv(120, 76%, 55%)
CMYKcmyk(76.4%, 0%, 76.4%, 45.1%)
CIE-LABlab(50.91, -50.17, 45.70)
CIE-LCHlch(50.91, 67.86, 137.67°)
OKLaboklab(56.03% -0.1362 0.1031)
OKLCHoklch(56.03% 0.171 142.9)
XYZxyz(10.2792, 19.1881, 4.6005)
Luminance0.1919 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218C21 #8C218C
analogous
#578C21 #218C21 #218C57
triadic
#218C21 #21218C #8C2121
tetradic
#218C21 #21578C #8C218C #8C5721
square
#218C21 #21578C #8C218C #8C5721
split-complementary
#218C21 #57218C #8C2157
monochromatic
#0A290A #155A15 #218C21 #2DBE2D #51D651

Accessibility & contrast

On white

4.34
#218C21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#218C21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218C21
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218C21#FFFFFF#000000##000000
##218C211.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0B
Deuteranopia (green-blind)
#83762D
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #218c21;
/* rgb */ color: rgb(33, 140, 33);
/* oklch */ color: oklch(56.0% 0.171 142.9);
Tailwind
colors: {
  custom: {
    50: '#6faf64',
    500: '#218c21',
    950: '#000000',
  },
}
SCSS
$custom: #218c21;
$custom-light: #6faf64;
$custom-dark: #000000;
JSON
{
  "hex": "#218c21",
  "rgb": {
    "r": 33,
    "g": 140,
    "b": 33
  },
  "hsl": {
    "h": 120,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56033,
    "c": 0.17083,
    "h": 142.9
  },
  "luminance": 0.19189
}

Semantic roles & 50–950 ramp

primary
#218C21
secondary
#B94FB9
accent
#43E5E5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #218C21

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

Preview Lab → · Contrast checker → · Palette generator →

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