#218D2A#218D2A

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

Color values

HEX#218D2A
RGBrgb(33, 141, 42)
HSLhsl(125, 62%, 34%)
HSVhsv(125, 77%, 55%)
CMYKcmyk(76.6%, 0%, 70.2%, 44.7%)
CIE-LABlab(51.31, -49.70, 42.55)
CIE-LCHlch(51.31, 65.43, 139.43°)
OKLaboklab(56.39% -0.1345 0.0977)
OKLCHoklch(56.39% 0.166 144)
XYZxyz(10.5693, 19.5390, 5.4044)
Luminance0.1954 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218D2A #8D2184
analogous
#4E8D21 #218D2A #218D60
triadic
#218D2A #2A218D #8D2A21
tetradic
#218D2A #214E8D #8D2184 #8D6021
square
#218D2A #214E8D #8D2184 #8D6021
split-complementary
#218D2A #60218D #8D214E
monochromatic
#0A2A0C #155B1B #218D2A #2DBF39 #52D65D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218D2A#FFFFFF#000000##000000
##218D2A1.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)
#907F1C
Deuteranopia (green-blind)
#847733
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #218d2a;
/* rgb */ color: rgb(33, 141, 42);
/* oklch */ color: oklch(56.4% 0.166 144.0);
Tailwind
colors: {
  custom: {
    50: '#6faf69',
    500: '#218d2a',
    950: '#000000',
  },
}
SCSS
$custom: #218d2a;
$custom-light: #6faf69;
$custom-dark: #000000;
JSON
{
  "hex": "#218d2a",
  "rgb": {
    "r": 33,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 125,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56391,
    "c": 0.16623,
    "h": 144
  },
  "luminance": 0.1954
}

Semantic roles & 50–950 ramp

primary
#218D2A
secondary
#BA50B1
accent
#43D8E5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #218D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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