#218C2F#218C2F

#218C2F is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.161 H 144.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#218C2F
RGBrgb(33, 140, 47)
HSLhsl(128, 62%, 34%)
HSVhsv(128, 76%, 55%)
CMYKcmyk(76.4%, 0%, 66.4%, 45.1%)
CIE-LABlab(51.02, -48.82, 40.05)
CIE-LCHlch(51.02, 63.15, 140.64°)
OKLaboklab(56.16% -0.1319 0.093)
OKLCHoklch(56.16% 0.161 144.8)
XYZxyz(10.5177, 19.2835, 5.8566)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218C2F #8C217E
analogous
#498C21 #218C2F #218C65
triadic
#218C2F #2F218C #8C2F21
tetradic
#218C2F #21498C #8C217E #8C6521
square
#218C2F #21498C #8C217E #8C6521
split-complementary
#218C2F #65218C #8C2149
monochromatic
#0A290E #155A1E #218C2F #2DBE40 #51D663

Accessibility & contrast

On white

4.32
#218C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#218C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218C2F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218C2F#FFFFFF#000000##000000
##218C2F1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F24
Deuteranopia (green-blind)
#827637
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #218c2f;
/* rgb */ color: rgb(33, 140, 47);
/* oklch */ color: oklch(56.2% 0.161 144.8);
Tailwind
colors: {
  custom: {
    50: '#6faf6c',
    500: '#218c2f',
    950: '#000000',
  },
}
SCSS
$custom: #218c2f;
$custom-light: #6faf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#218c2f",
  "rgb": {
    "r": 33,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 127.85,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56161,
    "c": 0.16136,
    "h": 144.8
  },
  "luminance": 0.19285
}

Semantic roles & 50–950 ramp

primary
#218C2F
secondary
#B94FAC
accent
#43D0E5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #218C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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