#218E18#218E18

#218E18 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.178 H 142.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#218E18
RGBrgb(33, 142, 24)
HSLhsl(115, 71%, 33%)
HSVhsv(115, 83%, 56%)
CMYKcmyk(76.8%, 0%, 83.1%, 44.3%)
CIE-LABlab(51.54, -51.46, 49.29)
CIE-LCHlch(51.54, 71.25, 136.23°)
OKLaboklab(56.54% -0.1401 0.1093)
OKLCHoklch(56.54% 0.178 142)
XYZxyz(10.4645, 19.7341, 4.1215)
Luminance0.1973 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218E18 #85188E
analogous
#5C8E18 #218E18 #188E4A
triadic
#218E18 #18218E #8E1821
tetradic
#218E18 #185C8E #85188E #8E4A18
square
#218E18 #185C8E #85188E #8E4A18
split-complementary
#218E18 #4A188E #8E185C
monochromatic
#092506 #155A0F #218E18 #2DC221 #4DDF41

Accessibility & contrast

On white

4.24
#218E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#218E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218E18
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218E18#FFFFFF#000000##000000
##218E181.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#857827
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #218e18;
/* rgb */ color: rgb(33, 142, 24);
/* oklch */ color: oklch(56.5% 0.178 142.0);
Tailwind
colors: {
  custom: {
    50: '#70b060',
    500: '#218e18',
    950: '#000000',
  },
}
SCSS
$custom: #218e18;
$custom-light: #70b060;
$custom-dark: #000000;
JSON
{
  "hex": "#218e18",
  "rgb": {
    "r": 33,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 115.424,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56539,
    "c": 0.1777,
    "h": 142
  },
  "luminance": 0.19735
}

Semantic roles & 50–950 ramp

primary
#218E18
secondary
#B642C0
accent
#3AEEE0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #218E18

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

Preview Lab → · Contrast checker → · Palette generator →

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