#218E2A#218E2A

#218E2A is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.167 H 144.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#218E2A
RGBrgb(33, 142, 42)
HSLhsl(125, 62%, 34%)
HSVhsv(125, 77%, 56%)
CMYKcmyk(76.8%, 0%, 70.4%, 44.3%)
CIE-LABlab(51.65, -50.04, 42.91)
CIE-LCHlch(51.65, 65.92, 139.38°)
OKLaboklab(56.67% -0.1354 0.0985)
OKLCHoklch(56.67% 0.167 144)
XYZxyz(10.7174, 19.8353, 5.4538)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218E2A #8E2185
analogous
#4F8E21 #218E2A #218E61
triadic
#218E2A #2A218E #8E2A21
tetradic
#218E2A #214F8E #8E2185 #8E6121
square
#218E2A #214F8E #8E2185 #8E6121
split-complementary
#218E2A #61218E #8E214F
monochromatic
#0A2B0D #155C1B #218E2A #2DC039 #52D75D

Accessibility & contrast

On white

4.23
#218E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#218E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218E2A
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218E2A#FFFFFF#000000##000000
##218E2A1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801B
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #218e2a;
/* rgb */ color: rgb(33, 142, 42);
/* oklch */ color: oklch(56.7% 0.167 144.0);
Tailwind
colors: {
  custom: {
    50: '#6fb069',
    500: '#218e2a',
    950: '#000000',
  },
}
SCSS
$custom: #218e2a;
$custom-light: #6fb069;
$custom-dark: #000000;
JSON
{
  "hex": "#218e2a",
  "rgb": {
    "r": 33,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 124.954,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56672,
    "c": 0.16743,
    "h": 144
  },
  "luminance": 0.19837
}

Semantic roles & 50–950 ramp

primary
#218E2A
secondary
#BA50B2
accent
#42D8E5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #218E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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