#218C1F#218C1F

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

Color values

HEX#218C1F
RGBrgb(33, 140, 31)
HSLhsl(119, 64%, 34%)
HSVhsv(119, 78%, 55%)
CMYKcmyk(76.4%, 0%, 77.9%, 45.1%)
CIE-LABlab(50.89, -50.33, 46.41)
CIE-LCHlch(50.89, 68.46, 137.32°)
OKLaboklab(56.02% -0.1367 0.1043)
OKLCHoklch(56.02% 0.172 142.7)
XYZxyz(10.2520, 19.1773, 4.4573)
Luminance0.1918 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218C1F #8A1F8C
analogous
#578C1F #218C1F #1F8C53
triadic
#218C1F #1F218C #8C1F21
tetradic
#218C1F #1F578C #8A1F8C #8C531F
square
#218C1F #1F578C #8A1F8C #8C531F
split-complementary
#218C1F #531F8C #8C1F57
monochromatic
#092809 #155A14 #218C1F #2DBE2A #50D84E

Accessibility & contrast

On white

4.34
#218C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#218C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218C1F
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218C1F#FFFFFF#000000##000000
##218C1F1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #218c1f;
/* rgb */ color: rgb(33, 140, 31);
/* oklch */ color: oklch(56.0% 0.172 142.7);
Tailwind
colors: {
  custom: {
    50: '#6faf63',
    500: '#218c1f',
    950: '#000000',
  },
}
SCSS
$custom: #218c1f;
$custom-light: #6faf63;
$custom-dark: #000000;
JSON
{
  "hex": "#218c1f",
  "rgb": {
    "r": 33,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 118.899,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56019,
    "c": 0.17196,
    "h": 142.7
  },
  "luminance": 0.19178
}

Semantic roles & 50–950 ramp

primary
#218C1F
secondary
#B94CBB
accent
#41E7E4
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #218C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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