#218C1B#218C1B

#218C1B is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.0% C 0.174 H 142.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#218C1B
RGBrgb(33, 140, 27)
HSLhsl(117, 68%, 33%)
HSVhsv(117, 81%, 55%)
CMYKcmyk(76.4%, 0%, 80.7%, 45.1%)
CIE-LABlab(50.87, -50.61, 47.74)
CIE-LCHlch(50.87, 69.57, 136.67°)
OKLaboklab(55.99% -0.1377 0.1065)
OKLCHoklch(55.99% 0.174 142.3)
XYZxyz(10.2025, 19.1575, 4.1968)
Luminance0.1916 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218C1B #861B8C
analogous
#5A8C1B #218C1B #1B8C4D
triadic
#218C1B #1B218C #8C1B21
tetradic
#218C1B #1B5A8C #861B8C #8C4D1B
square
#218C1B #1B5A8C #861B8C #8C4D1B
split-complementary
#218C1B #4D1B8C #8C1B5A
monochromatic
#092507 #155911 #218C1B #2DBF25 #4EDB46

Accessibility & contrast

On white

4.35
#218C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#218C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218C1B
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218C1B#FFFFFF#000000##000000
##218C1B1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#837629
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #218c1b;
/* rgb */ color: rgb(33, 140, 27);
/* oklch */ color: oklch(56.0% 0.174 142.3);
Tailwind
colors: {
  custom: {
    50: '#70af61',
    500: '#218c1b',
    950: '#000000',
  },
}
SCSS
$custom: #218c1b;
$custom-light: #70af61;
$custom-dark: #000000;
JSON
{
  "hex": "#218c1b",
  "rgb": {
    "r": 33,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 116.814,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55992,
    "c": 0.17407,
    "h": 142.3
  },
  "luminance": 0.19159
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #218C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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