#218518#218518

#218518 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.0% C 0.168 H 142.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#218518
RGBrgb(33, 133, 24)
HSLhsl(115, 69%, 31%)
HSVhsv(115, 82%, 52%)
CMYKcmyk(75.2%, 0%, 82%, 47.8%)
CIE-LABlab(48.47, -48.47, 46.41)
CIE-LCHlch(48.47, 67.10, 136.25°)
OKLaboklab(53.99% -0.132 0.1033)
OKLCHoklch(53.99% 0.168 142)
XYZxyz(9.1791, 17.1633, 3.6931)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218518 #7C1885
analogous
#578518 #218518 #188545
triadic
#218518 #182185 #851821
tetradic
#218518 #185785 #7C1885 #854518
square
#218518 #185785 #7C1885 #854518
split-complementary
#218518 #451885 #851857
monochromatic
#071D05 #14510F #218518 #2EB921 #49DC3C

Accessibility & contrast

On white

4.74
#218518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#218518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218518
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218518#FFFFFF#000000##FFFFFF
##2185181.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #218518;
/* rgb */ color: rgb(33, 133, 24);
/* oklch */ color: oklch(54.0% 0.168 142.0);
Tailwind
colors: {
  custom: {
    50: '#6eaa5f',
    500: '#218518',
    950: '#000000',
  },
}
SCSS
$custom: #218518;
$custom-light: #6eaa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#218518",
  "rgb": {
    "r": 33,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 115.046,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53988,
    "c": 0.16763,
    "h": 142
  },
  "luminance": 0.17164
}

Semantic roles & 50–950 ramp

primary
#218518
secondary
#AF40B9
accent
#3CECDE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #218518

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

Preview Lab → · Contrast checker → · Palette generator →

#218518 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva