#218A1D#218A1D

#218A1D is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.4% C 0.171 H 142.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#218A1D
RGBrgb(33, 138, 29)
HSLhsl(118, 65%, 33%)
HSVhsv(118, 79%, 54%)
CMYKcmyk(76.1%, 0%, 79%, 45.9%)
CIE-LABlab(50.20, -49.81, 46.42)
CIE-LCHlch(50.20, 68.09, 137.01°)
OKLaboklab(55.44% -0.1354 0.1041)
OKLCHoklch(55.44% 0.171 142.5)
XYZxyz(9.9369, 18.5879, 4.2263)
Luminance0.1859 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218A1D #861D8A
analogous
#588A1D #218A1D #1D8A4F
triadic
#218A1D #1D218A #8A1D21
tetradic
#218A1D #1D588A #861D8A #8A4F1D
square
#218A1D #1D588A #861D8A #8A4F1D
split-complementary
#218A1D #4F1D8A #8A1D58
monochromatic
#092508 #155712 #218A1D #2DBD28 #4ED949

Accessibility & contrast

On white

4.45
#218A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#218A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218A1D
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218A1D#FFFFFF#000000##000000
##218A1D1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C02
Deuteranopia (green-blind)
#827429
Tritanopia (blue-blind)
#008675
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #218a1d;
/* rgb */ color: rgb(33, 138, 29);
/* oklch */ color: oklch(55.4% 0.171 142.5);
Tailwind
colors: {
  custom: {
    50: '#6fad62',
    500: '#218a1d',
    950: '#000000',
  },
}
SCSS
$custom: #218a1d;
$custom-light: #6fad62;
$custom-dark: #000000;
JSON
{
  "hex": "#218a1d",
  "rgb": {
    "r": 33,
    "g": 138,
    "b": 29
  },
  "hsl": {
    "h": 117.798,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55439,
    "c": 0.17077,
    "h": 142.5
  },
  "luminance": 0.18589
}

Semantic roles & 50–950 ramp

primary
#218A1D
secondary
#B748BB
accent
#40E8E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #218A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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