#218D20#218D20

#218D20 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.173 H 142.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#218D20
RGBrgb(33, 141, 32)
HSLhsl(119, 63%, 34%)
HSVhsv(119, 77%, 55%)
CMYKcmyk(76.6%, 0%, 77.3%, 44.7%)
CIE-LABlab(51.24, -50.58, 46.39)
CIE-LCHlch(51.24, 68.64, 137.48°)
OKLaboklab(56.31% -0.1374 0.1044)
OKLCHoklch(56.31% 0.173 142.8)
XYZxyz(10.4121, 19.4762, 4.5768)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218D20 #8C208D
analogous
#588D20 #218D20 #208D56
triadic
#218D20 #20218D #8D2021
tetradic
#218D20 #20588D #8C208D #8D5620
square
#218D20 #20588D #8C208D #8D5620
split-complementary
#218D20 #56208D #8D2058
monochromatic
#0A2909 #155B15 #218D20 #2DBF2B #51D750

Accessibility & contrast

On white

4.29
#218D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#218D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218D20
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218D20#FFFFFF#000000##000000
##218D201.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F08
Deuteranopia (green-blind)
#84772C
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #218d20;
/* rgb */ color: rgb(33, 141, 32);
/* oklch */ color: oklch(56.3% 0.173 142.8);
Tailwind
colors: {
  custom: {
    50: '#70af64',
    500: '#218d20',
    950: '#000000',
  },
}
SCSS
$custom: #218d20;
$custom-light: #70af64;
$custom-dark: #000000;
JSON
{
  "hex": "#218d20",
  "rgb": {
    "r": 33,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 119.45,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56308,
    "c": 0.17254,
    "h": 142.8
  },
  "luminance": 0.19477
}

Semantic roles & 50–950 ramp

primary
#218D20
secondary
#B94EBA
accent
#42E6E5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #218D20

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

Preview Lab → · Contrast checker → · Palette generator →

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