#218B1C#218B1C

#218B1C is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.7% C 0.172 H 142.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#218B1C
RGBrgb(33, 139, 28)
HSLhsl(117, 66%, 33%)
HSVhsv(117, 80%, 55%)
CMYKcmyk(76.3%, 0%, 79.9%, 45.5%)
CIE-LABlab(50.54, -50.21, 47.09)
CIE-LCHlch(50.54, 68.84, 136.84°)
OKLaboklab(55.72% -0.1365 0.1053)
OKLCHoklch(55.72% 0.172 142.4)
XYZxyz(10.0688, 18.8713, 4.2103)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218B1C #861C8B
analogous
#598B1C #218B1C #1C8B4E
triadic
#218B1C #1C218B #8B1C21
tetradic
#218B1C #1C598B #861C8B #8B4E1C
square
#218B1C #1C598B #861C8B #8B4E1C
split-complementary
#218B1C #4E1C8B #8B1C59
monochromatic
#092507 #155812 #218B1C #2DBE26 #4EDA47

Accessibility & contrast

On white

4.40
#218B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#218B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218B1C
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218B1C#FFFFFF#000000##000000
##218B1C1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#837529
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #218b1c;
/* rgb */ color: rgb(33, 139, 28);
/* oklch */ color: oklch(55.7% 0.172 142.4);
Tailwind
colors: {
  custom: {
    50: '#6fae62',
    500: '#218b1c',
    950: '#000000',
  },
}
SCSS
$custom: #218b1c;
$custom-light: #6fae62;
$custom-dark: #000000;
JSON
{
  "hex": "#218b1c",
  "rgb": {
    "r": 33,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 117.297,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55716,
    "c": 0.17243,
    "h": 142.4
  },
  "luminance": 0.18872
}

Semantic roles & 50–950 ramp

primary
#218B1C
secondary
#B747BC
accent
#3EE9E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #218B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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