#218D1B#218D1B

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

Color values

HEX#218D1B
RGBrgb(33, 141, 27)
HSLhsl(117, 68%, 33%)
HSVhsv(117, 81%, 55%)
CMYKcmyk(76.6%, 0%, 80.9%, 44.7%)
CIE-LABlab(51.21, -50.94, 48.06)
CIE-LCHlch(51.21, 70.03, 136.67°)
OKLaboklab(56.28% -0.1386 0.1072)
OKLCHoklch(56.28% 0.175 142.3)
XYZxyz(10.3493, 19.4510, 4.2457)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218D1B #871B8D
analogous
#5A8D1B #218D1B #1B8D4E
triadic
#218D1B #1B218D #8D1B21
tetradic
#218D1B #1B5A8D #871B8D #8D4E1B
square
#218D1B #1B5A8D #871B8D #8D4E1B
split-complementary
#218D1B #4E1B8D #8D1B5A
monochromatic
#092607 #155A11 #218D1B #2DC025 #4FDC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218D1B#FFFFFF#000000##000000
##218D1B1.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)
#907F00
Deuteranopia (green-blind)
#847729
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #218d1b;
/* rgb */ color: rgb(33, 141, 27);
/* oklch */ color: oklch(56.3% 0.175 142.3);
Tailwind
colors: {
  custom: {
    50: '#70af61',
    500: '#218d1b',
    950: '#000000',
  },
}
SCSS
$custom: #218d1b;
$custom-light: #70af61;
$custom-dark: #000000;
JSON
{
  "hex": "#218d1b",
  "rgb": {
    "r": 33,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 116.842,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56275,
    "c": 0.17518,
    "h": 142.3
  },
  "luminance": 0.19452
}

Semantic roles & 50–950 ramp

primary
#218D1B
secondary
#B746BD
accent
#3DEBE2
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #218D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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