#218D28#218D28

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

Color values

HEX#218D28
RGBrgb(33, 141, 40)
HSLhsl(124, 62%, 34%)
HSVhsv(124, 77%, 55%)
CMYKcmyk(76.6%, 0%, 71.6%, 44.7%)
CIE-LABlab(51.30, -49.89, 43.37)
CIE-LCHlch(51.30, 66.11, 139.00°)
OKLaboklab(56.37% -0.1351 0.0992)
OKLCHoklch(56.37% 0.168 143.7)
XYZxyz(10.5344, 19.5251, 5.2206)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218D28 #8D2186
analogous
#508D21 #218D28 #218D5E
triadic
#218D28 #28218D #8D2821
tetradic
#218D28 #21508D #8D2186 #8D5E21
square
#218D28 #21508D #8D2186 #8D5E21
split-complementary
#218D28 #5E218D #8D2150
monochromatic
#0A2A0C #155B1A #218D28 #2DBF36 #52D65B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218D28#FFFFFF#000000##000000
##218D281.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)
#907F19
Deuteranopia (green-blind)
#847732
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #218d28;
/* rgb */ color: rgb(33, 141, 40);
/* oklch */ color: oklch(56.4% 0.168 143.7);
Tailwind
colors: {
  custom: {
    50: '#6faf68',
    500: '#218d28',
    950: '#000000',
  },
}
SCSS
$custom: #218d28;
$custom-light: #6faf68;
$custom-dark: #000000;
JSON
{
  "hex": "#218d28",
  "rgb": {
    "r": 33,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 123.889,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56373,
    "c": 0.1676,
    "h": 143.7
  },
  "luminance": 0.19526
}

Semantic roles & 50–950 ramp

primary
#218D28
secondary
#BA50B3
accent
#43DBE5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #218D28

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

Preview Lab → · Contrast checker → · Palette generator →

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