#218C2C#218C2C

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

Color values

HEX#218C2C
RGBrgb(33, 140, 44)
HSLhsl(126, 62%, 34%)
HSVhsv(126, 76%, 55%)
CMYKcmyk(76.4%, 0%, 68.6%, 45.1%)
CIE-LABlab(50.99, -49.15, 41.35)
CIE-LCHlch(50.99, 64.23, 139.92°)
OKLaboklab(56.13% -0.1329 0.0954)
OKLCHoklch(56.13% 0.164 144.3)
XYZxyz(10.4592, 19.2601, 5.5487)
Luminance0.1926 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218C2C #8C2181
analogous
#4C8C21 #218C2C #218C62
triadic
#218C2C #2C218C #8C2C21
tetradic
#218C2C #214C8C #8C2181 #8C6221
square
#218C2C #214C8C #8C2181 #8C6221
split-complementary
#218C2C #62218C #8C214C
monochromatic
#0A290D #155A1C #218C2C #2DBE3C #51D65F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218C2C#FFFFFF#000000##000000
##218C2C1.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)
#8F7F1F
Deuteranopia (green-blind)
#837635
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #218c2c;
/* rgb */ color: rgb(33, 140, 44);
/* oklch */ color: oklch(56.1% 0.164 144.3);
Tailwind
colors: {
  custom: {
    50: '#6faf6a',
    500: '#218c2c',
    950: '#000000',
  },
}
SCSS
$custom: #218c2c;
$custom-light: #6faf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#218c2c",
  "rgb": {
    "r": 33,
    "g": 140,
    "b": 44
  },
  "hsl": {
    "h": 126.168,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56129,
    "c": 0.16361,
    "h": 144.3
  },
  "luminance": 0.19261
}

Semantic roles & 50–950 ramp

primary
#218C2C
secondary
#B94FAF
accent
#43D4E5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #218C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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