#218F18#218F18

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

Color values

HEX#218F18
RGBrgb(33, 143, 24)
HSLhsl(115, 71%, 33%)
HSVhsv(115, 83%, 56%)
CMYKcmyk(76.9%, 0%, 83.2%, 43.9%)
CIE-LABlab(51.87, -51.79, 49.60)
CIE-LCHlch(51.87, 71.71, 136.23°)
OKLaboklab(56.82% -0.141 0.11)
OKLCHoklch(56.82% 0.179 142)
XYZxyz(10.6139, 20.0330, 4.1714)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218F18 #86188F
analogous
#5D8F18 #218F18 #188F4A
triadic
#218F18 #18218F #8F1821
tetradic
#218F18 #185D8F #86188F #8F4A18
square
#218F18 #185D8F #86188F #8F4A18
split-complementary
#218F18 #4A188F #8F185D
monochromatic
#092606 #155B0F #218F18 #2DC321 #4EDF42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218F18#FFFFFF#000000##000000
##218F181.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)
#867827
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #218f18;
/* rgb */ color: rgb(33, 143, 24);
/* oklch */ color: oklch(56.8% 0.179 142.0);
Tailwind
colors: {
  custom: {
    50: '#71b160',
    500: '#218f18',
    950: '#000000',
  },
}
SCSS
$custom: #218f18;
$custom-light: #71b160;
$custom-dark: #000000;
JSON
{
  "hex": "#218f18",
  "rgb": {
    "r": 33,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 115.462,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56822,
    "c": 0.1788,
    "h": 142
  },
  "luminance": 0.20034
}

Semantic roles & 50–950 ramp

primary
#218F18
secondary
#B743C0
accent
#3AEEE0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #218F18

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

Preview Lab → · Contrast checker → · Palette generator →

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