#218F1D#218F1D

#218F1D is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.176 H 142.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#218F1D
RGBrgb(33, 143, 29)
HSLhsl(118, 66%, 34%)
HSVhsv(118, 80%, 56%)
CMYKcmyk(76.9%, 0%, 79.7%, 43.9%)
CIE-LABlab(51.90, -51.47, 48.07)
CIE-LCHlch(51.90, 70.42, 136.95°)
OKLaboklab(56.85% -0.1399 0.1075)
OKLCHoklch(56.85% 0.176 142.5)
XYZxyz(10.6708, 20.0557, 4.4709)
Luminance0.2006 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218F1D #8B1D8F
analogous
#5A8F1D #218F1D #1D8F52
triadic
#218F1D #1D218F #8F1D21
tetradic
#218F1D #1D5A8F #8B1D8F #8F521D
square
#218F1D #1D5A8F #8B1D8F #8F521D
split-complementary
#218F1D #521D8F #8F1D5A
monochromatic
#0A2908 #155C13 #218F1D #2DC227 #51DB4C

Accessibility & contrast

On white

4.19
#218F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#218F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218F1D
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218F1D#FFFFFF#000000##000000
##218F1D1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#86792A
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #218f1d;
/* rgb */ color: rgb(33, 143, 29);
/* oklch */ color: oklch(56.9% 0.176 142.5);
Tailwind
colors: {
  custom: {
    50: '#70b163',
    500: '#218f1d',
    950: '#000000',
  },
}
SCSS
$custom: #218f1d;
$custom-light: #70b163;
$custom-dark: #000000;
JSON
{
  "hex": "#218f1d",
  "rgb": {
    "r": 33,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 117.895,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56851,
    "c": 0.17642,
    "h": 142.5
  },
  "luminance": 0.20057
}

Semantic roles & 50–950 ramp

primary
#218F1D
secondary
#B94BBD
accent
#3FE9E3
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #218F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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