#218D2C#218D2C

#218D2C is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.165 H 144.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#218D2C
RGBrgb(33, 141, 44)
HSLhsl(126, 62%, 34%)
HSVhsv(126, 77%, 55%)
CMYKcmyk(76.6%, 0%, 68.8%, 44.7%)
CIE-LABlab(51.33, -49.49, 41.72)
CIE-LCHlch(51.33, 64.73, 139.87°)
OKLaboklab(56.41% -0.1338 0.0962)
OKLCHoklch(56.41% 0.165 144.3)
XYZxyz(10.6060, 19.5537, 5.5977)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218D2C #8D2182
analogous
#4C8D21 #218D2C #218D62
triadic
#218D2C #2C218D #8D2C21
tetradic
#218D2C #214C8D #8D2182 #8D6221
square
#218D2C #214C8D #8D2182 #8D6221
split-complementary
#218D2C #62218D #8D214C
monochromatic
#0A2A0D #155B1D #218D2C #2DBF3B #52D65F

Accessibility & contrast

On white

4.28
#218D2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#218D2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218D2C
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218D2C#FFFFFF#000000##000000
##218D2C1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F1F
Deuteranopia (green-blind)
#847735
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #218d2c;
/* rgb */ color: rgb(33, 141, 44);
/* oklch */ color: oklch(56.4% 0.165 144.3);
Tailwind
colors: {
  custom: {
    50: '#6faf6a',
    500: '#218d2c',
    950: '#000000',
  },
}
SCSS
$custom: #218d2c;
$custom-light: #6faf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#218d2c",
  "rgb": {
    "r": 33,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 126.111,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5641,
    "c": 0.16481,
    "h": 144.3
  },
  "luminance": 0.19555
}

Semantic roles & 50–950 ramp

primary
#218D2C
secondary
#BA50AF
accent
#43D5E5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #218D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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