#218042#218042

#218042 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.129 H 150.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#218042
RGBrgb(33, 128, 66)
HSLhsl(141, 59%, 32%)
HSVhsv(141, 74%, 50%)
CMYKcmyk(74.2%, 0%, 48.4%, 49.8%)
CIE-LABlab(47.18, -41.67, 25.93)
CIE-LCHlch(47.18, 49.08, 148.10°)
OKLaboklab(53.06% -0.1121 0.0635)
OKLCHoklch(53.06% 0.129 150.5)
XYZxyz(9.3290, 16.1540, 7.7796)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218042 #80215F
analogous
#308021 #218042 #218072
triadic
#218042 #422180 #804221
tetradic
#218042 #213080 #80215F #807221
square
#218042 #213080 #80215F #807221
split-complementary
#218042 #722180 #802130
monochromatic
#081F10 #144F29 #218042 #2EB15B #4BD179

Accessibility & contrast

On white

4.96
#218042 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#218042 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218042
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218042#FFFFFF#000000##FFFFFF
##2180421.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81753D
Deuteranopia (green-blind)
#756D46
Tritanopia (blue-blind)
#007E71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #218042;
/* rgb */ color: rgb(33, 128, 66);
/* oklch */ color: oklch(53.1% 0.129 150.5);
Tailwind
colors: {
  custom: {
    50: '#6ba677',
    500: '#218042',
    950: '#000000',
  },
}
SCSS
$custom: #218042;
$custom-light: #6ba677;
$custom-dark: #000000;
JSON
{
  "hex": "#218042",
  "rgb": {
    "r": 33,
    "g": 128,
    "b": 66
  },
  "hsl": {
    "h": 140.842,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53055,
    "c": 0.12885,
    "h": 150.5
  },
  "luminance": 0.16155
}

Semantic roles & 50–950 ramp

primary
#218042
secondary
#B34A8E
accent
#46ACE2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #218042

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

Preview Lab → · Contrast checker → · Palette generator →

#218042 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva