#218E2D#218E2D

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

Color values

HEX#218E2D
RGBrgb(33, 142, 45)
HSLhsl(127, 62%, 34%)
HSVhsv(127, 77%, 56%)
CMYKcmyk(76.8%, 0%, 68.3%, 44.3%)
CIE-LABlab(51.68, -49.73, 41.66)
CIE-LCHlch(51.68, 64.87, 140.05°)
OKLaboklab(56.7% -0.1344 0.0962)
OKLCHoklch(56.7% 0.165 144.4)
XYZxyz(10.7731, 19.8575, 5.7472)
Luminance0.1986 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218E2D #8E2182
analogous
#4B8E21 #218E2D #218E64
triadic
#218E2D #2D218E #8E2D21
tetradic
#218E2D #214B8E #8E2182 #8E6421
square
#218E2D #214B8E #8E2182 #8E6421
split-complementary
#218E2D #64218E #8E214B
monochromatic
#0A2B0E #155C1D #218E2D #2DC03D #52D761

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218E2D#FFFFFF#000000##000000
##218E2D1.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)
#918020
Deuteranopia (green-blind)
#847836
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #218e2d;
/* rgb */ color: rgb(33, 142, 45);
/* oklch */ color: oklch(56.7% 0.165 144.4);
Tailwind
colors: {
  custom: {
    50: '#6fb06b',
    500: '#218e2d',
    950: '#000000',
  },
}
SCSS
$custom: #218e2d;
$custom-light: #6fb06b;
$custom-dark: #000000;
JSON
{
  "hex": "#218e2d",
  "rgb": {
    "r": 33,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 126.606,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56701,
    "c": 0.16529,
    "h": 144.4
  },
  "luminance": 0.19859
}

Semantic roles & 50–950 ramp

primary
#218E2D
secondary
#BA50AF
accent
#42D3E5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #218E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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