#218D2E#218D2E

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

Color values

HEX#218D2E
RGBrgb(33, 141, 46)
HSLhsl(127, 62%, 34%)
HSVhsv(127, 77%, 55%)
CMYKcmyk(76.6%, 0%, 67.4%, 44.7%)
CIE-LABlab(51.35, -49.28, 40.86)
CIE-LCHlch(51.35, 64.01, 140.34°)
OKLaboklab(56.43% -0.1331 0.0946)
OKLCHoklch(56.43% 0.163 144.6)
XYZxyz(10.6445, 19.5691, 5.8005)
Luminance0.1957 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218D2E #8D2180
analogous
#4A8D21 #218D2E #218D64
triadic
#218D2E #2E218D #8D2E21
tetradic
#218D2E #214A8D #8D2180 #8D6421
square
#218D2E #214A8D #8D2180 #8D6421
split-complementary
#218D2E #64218D #8D214A
monochromatic
#0A2A0E #155B1E #218D2E #2DBF3E #52D662

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218D2E#FFFFFF#000000##000000
##218D2E1.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)
#907F22
Deuteranopia (green-blind)
#837737
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #218d2e;
/* rgb */ color: rgb(33, 141, 46);
/* oklch */ color: oklch(56.4% 0.163 144.6);
Tailwind
colors: {
  custom: {
    50: '#6faf6b',
    500: '#218d2e',
    950: '#000000',
  },
}
SCSS
$custom: #218d2e;
$custom-light: #6faf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#218d2e",
  "rgb": {
    "r": 33,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 127.222,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56431,
    "c": 0.16335,
    "h": 144.6
  },
  "luminance": 0.1957
}

Semantic roles & 50–950 ramp

primary
#218D2E
secondary
#BA50AD
accent
#43D2E5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #218D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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