#218A1C#218A1C

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

Color values

HEX#218A1C
RGBrgb(33, 138, 28)
HSLhsl(117, 66%, 33%)
HSVhsv(117, 80%, 54%)
CMYKcmyk(76.1%, 0%, 79.7%, 45.9%)
CIE-LABlab(50.20, -49.88, 46.76)
CIE-LCHlch(50.20, 68.37, 136.85°)
OKLaboklab(55.43% -0.1356 0.1046)
OKLCHoklch(55.43% 0.171 142.4)
XYZxyz(9.9247, 18.5830, 4.1622)
Luminance0.1858 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218A1C #851C8A
analogous
#588A1C #218A1C #1C8A4E
triadic
#218A1C #1C218A #8A1C21
tetradic
#218A1C #1C588A #851C8A #8A4E1C
square
#218A1C #1C588A #851C8A #8A4E1C
split-complementary
#218A1C #4E1C8A #8A1C58
monochromatic
#092407 #155712 #218A1C #2DBD26 #4DDA47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218A1C#FFFFFF#000000##000000
##218A1C1.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)
#8D7C00
Deuteranopia (green-blind)
#827429
Tritanopia (blue-blind)
#008675
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #218a1c;
/* rgb */ color: rgb(33, 138, 28);
/* oklch */ color: oklch(55.4% 0.171 142.4);
Tailwind
colors: {
  custom: {
    50: '#6fad61',
    500: '#218a1c',
    950: '#000000',
  },
}
SCSS
$custom: #218a1c;
$custom-light: #6fad61;
$custom-dark: #000000;
JSON
{
  "hex": "#218a1c",
  "rgb": {
    "r": 33,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 117.273,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55433,
    "c": 0.1713,
    "h": 142.4
  },
  "luminance": 0.18584
}

Semantic roles & 50–950 ramp

primary
#218A1C
secondary
#B646BB
accent
#3FE9E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #218A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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