#218D1E#218D1E

#218D1E is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.174 H 142.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#218D1E
RGBrgb(33, 141, 30)
HSLhsl(118, 65%, 34%)
HSVhsv(118, 79%, 55%)
CMYKcmyk(76.6%, 0%, 78.7%, 44.7%)
CIE-LABlab(51.23, -50.73, 47.08)
CIE-LCHlch(51.23, 69.21, 137.14°)
OKLaboklab(56.29% -0.1379 0.1056)
OKLCHoklch(56.29% 0.174 142.6)
XYZxyz(10.3858, 19.4656, 4.4379)
Luminance0.1947 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218D1E #8A1E8D
analogous
#588D1E #218D1E #1E8D52
triadic
#218D1E #1E218D #8D1E21
tetradic
#218D1E #1E588D #8A1E8D #8D521E
square
#218D1E #1E588D #8A1E8D #8D521E
split-complementary
#218D1E #521E8D #8D1E58
monochromatic
#092809 #155B13 #218D1E #2DBF29 #50D94C

Accessibility & contrast

On white

4.29
#218D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#218D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218D1E
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218D1E#FFFFFF#000000##000000
##218D1E1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F03
Deuteranopia (green-blind)
#84772B
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #218d1e;
/* rgb */ color: rgb(33, 141, 30);
/* oklch */ color: oklch(56.3% 0.174 142.6);
Tailwind
colors: {
  custom: {
    50: '#70af63',
    500: '#218d1e',
    950: '#000000',
  },
}
SCSS
$custom: #218d1e;
$custom-light: #70af63;
$custom-dark: #000000;
JSON
{
  "hex": "#218d1e",
  "rgb": {
    "r": 33,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 118.378,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56294,
    "c": 0.17364,
    "h": 142.6
  },
  "luminance": 0.19467
}

Semantic roles & 50–950 ramp

primary
#218D1E
secondary
#B94BBC
accent
#40E8E3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #218D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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