#218918#218918

#218918 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.1% C 0.172 H 142.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#218918
RGBrgb(33, 137, 24)
HSLhsl(115, 70%, 32%)
HSVhsv(115, 82%, 54%)
CMYKcmyk(75.9%, 0%, 82.5%, 46.3%)
CIE-LABlab(49.83, -49.81, 47.70)
CIE-LCHlch(49.83, 68.96, 136.24°)
OKLaboklab(55.13% -0.1356 0.106)
OKLCHoklch(55.13% 0.172 142)
XYZxyz(9.7372, 18.2795, 3.8791)
Luminance0.1828 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218918 #801889
analogous
#5A8918 #218918 #188948
triadic
#218918 #182189 #891821
tetradic
#218918 #185A89 #801889 #894818
square
#218918 #185A89 #801889 #894818
split-complementary
#218918 #481889 #89185A
monochromatic
#082106 #14550F #218918 #2EBD21 #4BDD3E

Accessibility & contrast

On white

4.51
#218918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#218918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218918
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218918#FFFFFF#000000##000000
##2189181.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#817326
Tritanopia (blue-blind)
#008574
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #218918;
/* rgb */ color: rgb(33, 137, 24);
/* oklch */ color: oklch(55.1% 0.172 142.0);
Tailwind
colors: {
  custom: {
    50: '#6fac5f',
    500: '#218918',
    950: '#000000',
  },
}
SCSS
$custom: #218918;
$custom-light: #6fac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#218918",
  "rgb": {
    "r": 33,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 115.221,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55125,
    "c": 0.17214,
    "h": 142
  },
  "luminance": 0.18281
}

Semantic roles & 50–950 ramp

primary
#218918
secondary
#B340BD
accent
#3BEDDF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #218918

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

Preview Lab → · Contrast checker → · Palette generator →

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