#218040#218040

#218040 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.131 H 149.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#218040
RGBrgb(33, 128, 64)
HSLhsl(140, 59%, 32%)
HSVhsv(140, 74%, 50%)
CMYKcmyk(74.2%, 0%, 50%, 49.8%)
CIE-LABlab(47.15, -42.02, 26.98)
CIE-LCHlch(47.15, 49.93, 147.29°)
OKLaboklab(53.02% -0.1131 0.0657)
OKLCHoklch(53.02% 0.131 149.8)
XYZxyz(9.2710, 16.1308, 7.4744)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218040 #802161
analogous
#328021 #218040 #218070
triadic
#218040 #402180 #804021
tetradic
#218040 #213280 #802161 #807021
square
#218040 #213280 #802161 #807021
split-complementary
#218040 #702180 #802132
monochromatic
#081F0F #144F28 #218040 #2EB158 #4BD176

Accessibility & contrast

On white

4.97
#218040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #218040
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218040#FFFFFF#000000##FFFFFF
##2180401.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81753B
Deuteranopia (green-blind)
#766D45
Tritanopia (blue-blind)
#007E71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #218040;
/* rgb */ color: rgb(33, 128, 64);
/* oklch */ color: oklch(53.0% 0.131 149.8);
Tailwind
colors: {
  custom: {
    50: '#6ba676',
    500: '#218040',
    950: '#000000',
  },
}
SCSS
$custom: #218040;
$custom-light: #6ba676;
$custom-dark: #000000;
JSON
{
  "hex": "#218040",
  "rgb": {
    "r": 33,
    "g": 128,
    "b": 64
  },
  "hsl": {
    "h": 139.579,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5302,
    "c": 0.13079,
    "h": 149.8
  },
  "luminance": 0.16132
}

Semantic roles & 50–950 ramp

primary
#218040
secondary
#B34A91
accent
#46AFE2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #218040

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

Preview Lab → · Contrast checker → · Palette generator →

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