#218C2B#218C2B

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

Color values

HEX#218C2B
RGBrgb(33, 140, 43)
HSLhsl(126, 62%, 34%)
HSVhsv(126, 76%, 55%)
CMYKcmyk(76.4%, 0%, 69.3%, 45.1%)
CIE-LABlab(50.98, -49.25, 41.77)
CIE-LCHlch(50.98, 64.58, 139.70°)
OKLaboklab(56.12% -0.1332 0.0962)
OKLCHoklch(56.12% 0.164 144.2)
XYZxyz(10.4406, 19.2527, 5.4509)
Luminance0.1925 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218C2B #8C2182
analogous
#4D8C21 #218C2B #218C61
triadic
#218C2B #2B218C #8C2B21
tetradic
#218C2B #214D8C #8C2182 #8C6121
square
#218C2B #214D8C #8C2182 #8C6121
split-complementary
#218C2B #61218C #8C214D
monochromatic
#0A290D #155A1C #218C2B #2DBE3A #51D65E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218C2B#FFFFFF#000000##000000
##218C2B1.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)
#8F7E1E
Deuteranopia (green-blind)
#837634
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #218c2b;
/* rgb */ color: rgb(33, 140, 43);
/* oklch */ color: oklch(56.1% 0.164 144.2);
Tailwind
colors: {
  custom: {
    50: '#6faf69',
    500: '#218c2b',
    950: '#000000',
  },
}
SCSS
$custom: #218c2b;
$custom-light: #6faf69;
$custom-dark: #000000;
JSON
{
  "hex": "#218c2b",
  "rgb": {
    "r": 33,
    "g": 140,
    "b": 43
  },
  "hsl": {
    "h": 125.607,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56119,
    "c": 0.16432,
    "h": 144.2
  },
  "luminance": 0.19254
}

Semantic roles & 50–950 ramp

primary
#218C2B
secondary
#B94FB0
accent
#43D6E5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #218C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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