#218E2E#218E2E

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

Color values

HEX#218E2E
RGBrgb(33, 142, 46)
HSLhsl(127, 62%, 34%)
HSVhsv(127, 77%, 56%)
CMYKcmyk(76.8%, 0%, 67.6%, 44.3%)
CIE-LABlab(51.68, -49.62, 41.23)
CIE-LCHlch(51.68, 64.52, 140.28°)
OKLaboklab(56.71% -0.1341 0.0954)
OKLCHoklch(56.71% 0.165 144.6)
XYZxyz(10.7926, 19.8653, 5.8498)
Luminance0.1987 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218E2E #8E2181
analogous
#4B8E21 #218E2E #218E65
triadic
#218E2E #2E218E #8E2E21
tetradic
#218E2E #214B8E #8E2181 #8E6521
square
#218E2E #214B8E #8E2181 #8E6521
split-complementary
#218E2E #65218E #8E214B
monochromatic
#0A2B0E #155C1E #218E2E #2DC03E #52D762

Accessibility & contrast

On white

4.22
#218E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##218E2E#FFFFFF#000000##000000
##218E2E1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918022
Deuteranopia (green-blind)
#847837
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #218e2e;
/* rgb */ color: rgb(33, 142, 46);
/* oklch */ color: oklch(56.7% 0.165 144.6);
Tailwind
colors: {
  custom: {
    50: '#6fb06b',
    500: '#218e2e',
    950: '#000000',
  },
}
SCSS
$custom: #218e2e;
$custom-light: #6fb06b;
$custom-dark: #000000;
JSON
{
  "hex": "#218e2e",
  "rgb": {
    "r": 33,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 127.156,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56711,
    "c": 0.16456,
    "h": 144.6
  },
  "luminance": 0.19867
}

Semantic roles & 50–950 ramp

primary
#218E2E
secondary
#BA50AE
accent
#42D2E5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #218E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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