#218D1C#218D1C

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

Color values

HEX#218D1C
RGBrgb(33, 141, 28)
HSLhsl(117, 67%, 33%)
HSVhsv(117, 80%, 55%)
CMYKcmyk(76.6%, 0%, 80.1%, 44.7%)
CIE-LABlab(51.22, -50.87, 47.74)
CIE-LCHlch(51.22, 69.77, 136.82°)
OKLaboklab(56.28% -0.1383 0.1067)
OKLCHoklch(56.28% 0.175 142.4)
XYZxyz(10.3611, 19.4557, 4.3077)
Luminance0.1946 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218D1C #881C8D
analogous
#598D1C #218D1C #1C8D4F
triadic
#218D1C #1C218D #8D1C21
tetradic
#218D1C #1C598D #881C8D #8D4F1C
square
#218D1C #1C598D #881C8D #8D4F1C
split-complementary
#218D1C #4F1C8D #8D1C59
monochromatic
#092708 #155A12 #218D1C #2DC026 #4FDB49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218D1C#FFFFFF#000000##000000
##218D1C1.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)
#847729
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #218d1c;
/* rgb */ color: rgb(33, 141, 28);
/* oklch */ color: oklch(56.3% 0.175 142.4);
Tailwind
colors: {
  custom: {
    50: '#70af62',
    500: '#218d1c',
    950: '#000000',
  },
}
SCSS
$custom: #218d1c;
$custom-light: #70af62;
$custom-dark: #000000;
JSON
{
  "hex": "#218d1c",
  "rgb": {
    "r": 33,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 117.345,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56281,
    "c": 0.17469,
    "h": 142.4
  },
  "luminance": 0.19457
}

Semantic roles & 50–950 ramp

primary
#218D1C
secondary
#B848BD
accent
#3EEAE2
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #218D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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