#218018#218018

#218018 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.162 H 141.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#218018
RGBrgb(33, 128, 24)
HSLhsl(115, 68%, 30%)
HSVhsv(115, 81%, 50%)
CMYKcmyk(74.2%, 0%, 81.3%, 49.8%)
CIE-LABlab(46.75, -46.77, 44.77)
CIE-LCHlch(46.75, 64.74, 136.25°)
OKLaboklab(52.56% -0.1274 0.0999)
OKLCHoklch(52.56% 0.162 141.9)
XYZxyz(8.5108, 15.8267, 3.4703)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218018 #771880
analogous
#558018 #218018 #188043
triadic
#218018 #182180 #801821
tetradic
#218018 #185580 #771880 #804318
square
#218018 #185580 #771880 #804318
split-complementary
#218018 #431880 #801855
monochromatic
#071A05 #144C0E #218018 #2EB422 #47DA39

Accessibility & contrast

On white

5.04
#218018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#218018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218018
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218018#FFFFFF#000000##FFFFFF
##2180181.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786C24
Tritanopia (blue-blind)
#037C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #218018;
/* rgb */ color: rgb(33, 128, 24);
/* oklch */ color: oklch(52.6% 0.162 141.9);
Tailwind
colors: {
  custom: {
    50: '#6da65e',
    500: '#218018',
    950: '#000000',
  },
}
SCSS
$custom: #218018;
$custom-light: #6da65e;
$custom-dark: #000000;
JSON
{
  "hex": "#218018",
  "rgb": {
    "r": 33,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 114.808,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5256,
    "c": 0.16191,
    "h": 141.9
  },
  "luminance": 0.15828
}

Semantic roles & 50–950 ramp

primary
#218018
secondary
#AA40B4
accent
#3DEBDC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #218018

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

Preview Lab → · Contrast checker → · Palette generator →

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