#218D2D#218D2D

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

Color values

HEX#218D2D
RGBrgb(33, 141, 45)
HSLhsl(127, 62%, 34%)
HSVhsv(127, 77%, 55%)
CMYKcmyk(76.6%, 0%, 68.1%, 44.7%)
CIE-LABlab(51.34, -49.39, 41.29)
CIE-LCHlch(51.34, 64.37, 140.10°)
OKLaboklab(56.42% -0.1335 0.0954)
OKLCHoklch(56.42% 0.164 144.4)
XYZxyz(10.6250, 19.5613, 5.6979)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218D2D #8D2181
analogous
#4B8D21 #218D2D #218D63
triadic
#218D2D #2D218D #8D2D21
tetradic
#218D2D #214B8D #8D2181 #8D6321
square
#218D2D #214B8D #8D2181 #8D6321
split-complementary
#218D2D #63218D #8D214B
monochromatic
#0A2A0D #155B1D #218D2D #2DBF3D #52D661

Accessibility & contrast

On white

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

On black

4.91
#218D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218D2D
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218D2D#FFFFFF#000000##000000
##218D2D1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #218d2d;
/* rgb */ color: rgb(33, 141, 45);
/* oklch */ color: oklch(56.4% 0.164 144.4);
Tailwind
colors: {
  custom: {
    50: '#6faf6b',
    500: '#218d2d',
    950: '#000000',
  },
}
SCSS
$custom: #218d2d;
$custom-light: #6faf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#218d2d",
  "rgb": {
    "r": 33,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 126.667,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5642,
    "c": 0.16409,
    "h": 144.4
  },
  "luminance": 0.19563
}

Semantic roles & 50–950 ramp

primary
#218D2D
secondary
#BA50AE
accent
#43D3E5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #218D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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