#218D27#218D27

#218D27 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.168 H 143.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#218D27
RGBrgb(33, 141, 39)
HSLhsl(123, 62%, 34%)
HSVhsv(123, 77%, 55%)
CMYKcmyk(76.6%, 0%, 72.3%, 44.7%)
CIE-LABlab(51.29, -49.99, 43.77)
CIE-LCHlch(51.29, 66.44, 138.80°)
OKLaboklab(56.36% -0.1354 0.0999)
OKLCHoklch(56.36% 0.168 143.6)
XYZxyz(10.5176, 19.5184, 5.1322)
Luminance0.1952 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218D27 #8D2187
analogous
#518D21 #218D27 #218D5D
triadic
#218D27 #27218D #8D2721
tetradic
#218D27 #21518D #8D2187 #8D5D21
square
#218D27 #21518D #8D2187 #8D5D21
split-complementary
#218D27 #5D218D #8D2151
monochromatic
#0A2A0C #155B19 #218D27 #2DBF35 #52D659

Accessibility & contrast

On white

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

On black

4.90
#218D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218D27
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218D27#FFFFFF#000000##000000
##218D271.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #218d27;
/* rgb */ color: rgb(33, 141, 39);
/* oklch */ color: oklch(56.4% 0.168 143.6);
Tailwind
colors: {
  custom: {
    50: '#6faf67',
    500: '#218d27',
    950: '#000000',
  },
}
SCSS
$custom: #218d27;
$custom-light: #6faf67;
$custom-dark: #000000;
JSON
{
  "hex": "#218d27",
  "rgb": {
    "r": 33,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 123.333,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56364,
    "c": 0.16826,
    "h": 143.6
  },
  "luminance": 0.1952
}

Semantic roles & 50–950 ramp

primary
#218D27
secondary
#BA50B4
accent
#43DCE5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #218D27

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

Preview Lab → · Contrast checker → · Palette generator →

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