#218E2C#218E2C

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

Color values

HEX#218E2C
RGBrgb(33, 142, 44)
HSLhsl(126, 62%, 34%)
HSVhsv(126, 77%, 56%)
CMYKcmyk(76.8%, 0%, 69%, 44.3%)
CIE-LABlab(51.67, -49.84, 42.08)
CIE-LCHlch(51.67, 65.23, 139.82°)
OKLaboklab(56.69% -0.1347 0.097)
OKLCHoklch(56.69% 0.166 144.3)
XYZxyz(10.7541, 19.8499, 5.6470)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218E2C #8E2183
analogous
#4D8E21 #218E2C #218E63
triadic
#218E2C #2C218E #8E2C21
tetradic
#218E2C #214D8E #8E2183 #8E6321
square
#218E2C #214D8E #8E2183 #8E6321
split-complementary
#218E2C #63218E #8E214D
monochromatic
#0A2B0D #155C1D #218E2C #2DC03B #52D760

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218E2C#FFFFFF#000000##000000
##218E2C1.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)
#91801F
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #218e2c;
/* rgb */ color: rgb(33, 142, 44);
/* oklch */ color: oklch(56.7% 0.166 144.3);
Tailwind
colors: {
  custom: {
    50: '#6fb06a',
    500: '#218e2c',
    950: '#000000',
  },
}
SCSS
$custom: #218e2c;
$custom-light: #6fb06a;
$custom-dark: #000000;
JSON
{
  "hex": "#218e2c",
  "rgb": {
    "r": 33,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 126.055,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56691,
    "c": 0.16601,
    "h": 144.3
  },
  "luminance": 0.19851
}

Semantic roles & 50–950 ramp

primary
#218E2C
secondary
#BA50B0
accent
#42D5E5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #218E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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