#218C2D#218C2D

#218C2D is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.163 H 144.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#218C2D
RGBrgb(33, 140, 45)
HSLhsl(127, 62%, 34%)
HSVhsv(127, 76%, 55%)
CMYKcmyk(76.4%, 0%, 67.9%, 45.1%)
CIE-LABlab(51.00, -49.04, 40.92)
CIE-LCHlch(51.00, 63.87, 140.16°)
OKLaboklab(56.14% -0.1325 0.0946)
OKLCHoklch(56.14% 0.163 144.5)
XYZxyz(10.4782, 19.2678, 5.6489)
Luminance0.1927 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218C2D #8C2180
analogous
#4B8C21 #218C2D #218C63
triadic
#218C2D #2D218C #8C2D21
tetradic
#218C2D #214B8C #8C2180 #8C6321
square
#218C2D #214B8C #8C2180 #8C6321
split-complementary
#218C2D #63218C #8C214B
monochromatic
#0A290D #155A1D #218C2D #2DBE3D #51D660

Accessibility & contrast

On white

4.33
#218C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#218C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218C2D
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218C2D#FFFFFF#000000##000000
##218C2D1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F21
Deuteranopia (green-blind)
#837636
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #218c2d;
/* rgb */ color: rgb(33, 140, 45);
/* oklch */ color: oklch(56.1% 0.163 144.5);
Tailwind
colors: {
  custom: {
    50: '#6faf6b',
    500: '#218c2d',
    950: '#000000',
  },
}
SCSS
$custom: #218c2d;
$custom-light: #6faf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#218c2d",
  "rgb": {
    "r": 33,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 126.729,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56139,
    "c": 0.16287,
    "h": 144.5
  },
  "luminance": 0.19269
}

Semantic roles & 50–950 ramp

primary
#218C2D
secondary
#B94FAE
accent
#43D3E5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #218C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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