#218F1C#218F1C

#218F1C is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.8% C 0.177 H 142.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#218F1C
RGBrgb(33, 143, 28)
HSLhsl(117, 67%, 34%)
HSVhsv(117, 80%, 56%)
CMYKcmyk(76.9%, 0%, 80.4%, 43.9%)
CIE-LABlab(51.89, -51.53, 48.39)
CIE-LCHlch(51.89, 70.69, 136.80°)
OKLaboklab(56.85% -0.1401 0.108)
OKLCHoklch(56.85% 0.177 142.4)
XYZxyz(10.6586, 20.0509, 4.4069)
Luminance0.2005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218F1C #8A1C8F
analogous
#5A8F1C #218F1C #1C8F50
triadic
#218F1C #1C218F #8F1C21
tetradic
#218F1C #1C5A8F #8A1C8F #8F501C
square
#218F1C #1C5A8F #8A1C8F #8F501C
split-complementary
#218F1C #501C8F #8F1C5A
monochromatic
#092908 #155C12 #218F1C #2DC226 #50DC4A

Accessibility & contrast

On white

4.19
#218F1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#218F1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218F1C
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218F1C#FFFFFF#000000##000000
##218F1C1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#86792A
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #218f1c;
/* rgb */ color: rgb(33, 143, 28);
/* oklch */ color: oklch(56.8% 0.177 142.4);
Tailwind
colors: {
  custom: {
    50: '#70b162',
    500: '#218f1c',
    950: '#000000',
  },
}
SCSS
$custom: #218f1c;
$custom-light: #70b162;
$custom-dark: #000000;
JSON
{
  "hex": "#218f1c",
  "rgb": {
    "r": 33,
    "g": 143,
    "b": 28
  },
  "hsl": {
    "h": 117.391,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56845,
    "c": 0.17693,
    "h": 142.4
  },
  "luminance": 0.20052
}

Semantic roles & 50–950 ramp

primary
#218F1C
secondary
#B949BE
accent
#3EEAE3
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #218F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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