#218C28#218C28

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

Color values

HEX#218C28
RGBrgb(33, 140, 40)
HSLhsl(124, 62%, 34%)
HSVhsv(124, 76%, 55%)
CMYKcmyk(76.4%, 0%, 71.4%, 45.1%)
CIE-LABlab(50.96, -49.55, 43.01)
CIE-LCHlch(50.96, 65.62, 139.04°)
OKLaboklab(56.09% -0.1342 0.0984)
OKLCHoklch(56.09% 0.166 143.7)
XYZxyz(10.3876, 19.2315, 5.1717)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218C28 #8C2185
analogous
#508C21 #218C28 #218C5E
triadic
#218C28 #28218C #8C2821
tetradic
#218C28 #21508C #8C2185 #8C5E21
square
#218C28 #21508C #8C2185 #8C5E21
split-complementary
#218C28 #5E218C #8C2150
monochromatic
#0A290C #155A1A #218C28 #2DBE36 #51D65A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218C28#FFFFFF#000000##000000
##218C281.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)
#8F7E19
Deuteranopia (green-blind)
#837632
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #218c28;
/* rgb */ color: rgb(33, 140, 40);
/* oklch */ color: oklch(56.1% 0.166 143.7);
Tailwind
colors: {
  custom: {
    50: '#6faf68',
    500: '#218c28',
    950: '#000000',
  },
}
SCSS
$custom: #218c28;
$custom-light: #6faf68;
$custom-dark: #000000;
JSON
{
  "hex": "#218c28",
  "rgb": {
    "r": 33,
    "g": 140,
    "b": 40
  },
  "hsl": {
    "h": 123.925,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56091,
    "c": 0.16642,
    "h": 143.7
  },
  "luminance": 0.19233
}

Semantic roles & 50–950 ramp

primary
#218C28
secondary
#B94FB3
accent
#43DAE5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #218C28

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

Preview Lab → · Contrast checker → · Palette generator →

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