#218542#218542

#218542 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.136 H 149.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#218542
RGBrgb(33, 133, 66)
HSLhsl(140, 60%, 33%)
HSVhsv(140, 75%, 52%)
CMYKcmyk(75.2%, 0%, 50.4%, 47.8%)
CIE-LABlab(48.87, -43.60, 28.07)
CIE-LCHlch(48.87, 51.86, 147.22°)
OKLaboklab(54.46% -0.1173 0.0683)
OKLCHoklch(54.46% 0.136 149.8)
XYZxyz(9.9973, 17.4906, 8.0023)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218542 #852164
analogous
#328521 #218542 #218574
triadic
#218542 #422185 #854221
tetradic
#218542 #213285 #852164 #857421
square
#218542 #213285 #852164 #857421
split-complementary
#218542 #742185 #852132
monochromatic
#092311 #15542A #218542 #2DB65A #4DD37A

Accessibility & contrast

On white

4.67
#218542 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#218542 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #218542
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218542#FFFFFF#000000##FFFFFF
##2185421.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793D
Deuteranopia (green-blind)
#7A7147
Tritanopia (blue-blind)
#008375
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #218542;
/* rgb */ color: rgb(33, 133, 66);
/* oklch */ color: oklch(54.5% 0.136 149.8);
Tailwind
colors: {
  custom: {
    50: '#6ca977',
    500: '#218542',
    950: '#000000',
  },
}
SCSS
$custom: #218542;
$custom-light: #6ca977;
$custom-dark: #000000;
JSON
{
  "hex": "#218542",
  "rgb": {
    "r": 33,
    "g": 133,
    "b": 66
  },
  "hsl": {
    "h": 139.8,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54457,
    "c": 0.13572,
    "h": 149.8
  },
  "luminance": 0.17492
}

Semantic roles & 50–950 ramp

primary
#218542
secondary
#B64C93
accent
#44AFE3
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #218542

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

Preview Lab → · Contrast checker → · Palette generator →

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