#218D2F#218D2F

#218D2F is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.163 H 144.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#218D2F
RGBrgb(33, 141, 47)
HSLhsl(128, 62%, 34%)
HSVhsv(128, 77%, 55%)
CMYKcmyk(76.6%, 0%, 66.7%, 44.7%)
CIE-LABlab(51.36, -49.17, 40.42)
CIE-LCHlch(51.36, 63.65, 140.57°)
OKLaboklab(56.44% -0.1328 0.0938)
OKLCHoklch(56.44% 0.163 144.8)
XYZxyz(10.6644, 19.5771, 5.9055)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218D2F #8D217F
analogous
#498D21 #218D2F #218D65
triadic
#218D2F #2F218D #8D2F21
tetradic
#218D2F #21498D #8D217F #8D6521
square
#218D2F #21498D #8D217F #8D6521
split-complementary
#218D2F #65218D #8D2149
monochromatic
#0A2A0E #155B1E #218D2F #2DBF40 #52D663

Accessibility & contrast

On white

4.27
#218D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#218D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218D2F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218D2F#FFFFFF#000000##000000
##218D2F1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F23
Deuteranopia (green-blind)
#837737
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #218d2f;
/* rgb */ color: rgb(33, 141, 47);
/* oklch */ color: oklch(56.4% 0.163 144.8);
Tailwind
colors: {
  custom: {
    50: '#6faf6c',
    500: '#218d2f',
    950: '#000000',
  },
}
SCSS
$custom: #218d2f;
$custom-light: #6faf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#218d2f",
  "rgb": {
    "r": 33,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 127.778,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56441,
    "c": 0.16259,
    "h": 144.8
  },
  "luminance": 0.19578
}

Semantic roles & 50–950 ramp

primary
#218D2F
secondary
#BA50AC
accent
#43D0E5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #218D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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