#218D1D#218D1D

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

Color values

HEX#218D1D
RGBrgb(33, 141, 29)
HSLhsl(118, 66%, 33%)
HSVhsv(118, 79%, 55%)
CMYKcmyk(76.6%, 0%, 79.4%, 44.7%)
CIE-LABlab(51.22, -50.81, 47.41)
CIE-LCHlch(51.22, 69.49, 136.98°)
OKLaboklab(56.29% -0.1381 0.1061)
OKLCHoklch(56.29% 0.174 142.5)
XYZxyz(10.3732, 19.4606, 4.3717)
Luminance0.1946 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218D1D #891D8D
analogous
#598D1D #218D1D #1D8D51
triadic
#218D1D #1D218D #8D1D21
tetradic
#218D1D #1D598D #891D8D #8D511D
square
#218D1D #1D598D #891D8D #8D511D
split-complementary
#218D1D #511D8D #8D1D59
monochromatic
#092708 #155A13 #218D1D #2DC027 #50DA4B

Accessibility & contrast

On white

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

On black

4.89
#218D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218D1D
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218D1D#FFFFFF#000000##000000
##218D1D1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #218d1d;
/* rgb */ color: rgb(33, 141, 29);
/* oklch */ color: oklch(56.3% 0.174 142.5);
Tailwind
colors: {
  custom: {
    50: '#70af62',
    500: '#218d1d',
    950: '#000000',
  },
}
SCSS
$custom: #218d1d;
$custom-light: #70af62;
$custom-dark: #000000;
JSON
{
  "hex": "#218d1d",
  "rgb": {
    "r": 33,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 117.857,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56287,
    "c": 0.17417,
    "h": 142.5
  },
  "luminance": 0.19462
}

Semantic roles & 50–950 ramp

primary
#218D1D
secondary
#B84ABC
accent
#3FE9E3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #218D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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