#218C18#218C18

#218C18 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.175 H 142.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#218C18
RGBrgb(33, 140, 24)
HSLhsl(115, 71%, 32%)
HSVhsv(115, 83%, 55%)
CMYKcmyk(76.4%, 0%, 82.9%, 45.1%)
CIE-LABlab(50.86, -50.80, 48.65)
CIE-LCHlch(50.86, 70.34, 136.24°)
OKLaboklab(55.97% -0.1383 0.108)
OKLCHoklch(55.97% 0.175 142)
XYZxyz(10.1696, 19.1443, 4.0232)
Luminance0.1915 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218C18 #83188C
analogous
#5B8C18 #218C18 #188C49
triadic
#218C18 #18218C #8C1821
tetradic
#218C18 #185B8C #83188C #8C4918
square
#218C18 #185B8C #83188C #8C4918
split-complementary
#218C18 #49188C #8C185B
monochromatic
#082406 #15580F #218C18 #2DC021 #4CDE40

Accessibility & contrast

On white

4.35
#218C18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#218C18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218C18
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218C18#FFFFFF#000000##000000
##218C181.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#847627
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #218c18;
/* rgb */ color: rgb(33, 140, 24);
/* oklch */ color: oklch(56.0% 0.175 142.0);
Tailwind
colors: {
  custom: {
    50: '#70af60',
    500: '#218c18',
    950: '#000000',
  },
}
SCSS
$custom: #218c18;
$custom-light: #70af60;
$custom-dark: #000000;
JSON
{
  "hex": "#218c18",
  "rgb": {
    "r": 33,
    "g": 140,
    "b": 24
  },
  "hsl": {
    "h": 115.345,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55974,
    "c": 0.17549,
    "h": 142
  },
  "luminance": 0.19145
}

Semantic roles & 50–950 ramp

primary
#218C18
secondary
#B541BF
accent
#3AEDE0
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #218C18

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

Preview Lab → · Contrast checker → · Palette generator →

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