#218618#218618

#218618 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.169 H 142.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#218618
RGBrgb(33, 134, 24)
HSLhsl(115, 70%, 31%)
HSVhsv(115, 82%, 53%)
CMYKcmyk(75.4%, 0%, 82.1%, 47.5%)
CIE-LABlab(48.81, -48.81, 46.73)
CIE-LCHlch(48.81, 67.57, 136.24°)
OKLaboklab(54.27% -0.1329 0.104)
OKLCHoklch(54.27% 0.169 142)
XYZxyz(9.3166, 17.4384, 3.7389)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218618 #7D1886
analogous
#588618 #218618 #188646
triadic
#218618 #182186 #861821
tetradic
#218618 #185886 #7D1886 #864618
square
#218618 #185886 #7D1886 #864618
split-complementary
#218618 #461886 #861858
monochromatic
#071E05 #14520F #218618 #2EBA21 #49DC3C

Accessibility & contrast

On white

4.68
#218618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#218618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218618
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218618#FFFFFF#000000##FFFFFF
##2186181.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #218618;
/* rgb */ color: rgb(33, 134, 24);
/* oklch */ color: oklch(54.3% 0.169 142.0);
Tailwind
colors: {
  custom: {
    50: '#6eaa5f',
    500: '#218618',
    950: '#000000',
  },
}
SCSS
$custom: #218618;
$custom-light: #6eaa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#218618",
  "rgb": {
    "r": 33,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 115.091,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54273,
    "c": 0.16877,
    "h": 142
  },
  "luminance": 0.17439
}

Semantic roles & 50–950 ramp

primary
#218618
secondary
#B040BA
accent
#3BECDE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #218618

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

Preview Lab → · Contrast checker → · Palette generator →

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