#218940#218940

#218940 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.143 H 148.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#218940
RGBrgb(33, 137, 64)
HSLhsl(138, 61%, 33%)
HSVhsv(138, 76%, 54%)
CMYKcmyk(75.9%, 0%, 53.3%, 46.3%)
CIE-LABlab(50.20, -45.44, 30.77)
CIE-LCHlch(50.20, 54.88, 145.89°)
OKLaboklab(55.54% -0.1222 0.0743)
OKLCHoklch(55.54% 0.143 148.7)
XYZxyz(10.4974, 18.5836, 7.8832)
Luminance0.1858 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218940 #89216A
analogous
#368921 #218940 #218974
triadic
#218940 #402189 #894021
tetradic
#218940 #213689 #89216A #897421
square
#218940 #213689 #89216A #897421
split-complementary
#218940 #742189 #892136
monochromatic
#092612 #155829 #218940 #2DBA57 #50D577

Accessibility & contrast

On white

4.45
#218940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#218940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218940
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218940#FFFFFF#000000##000000
##2189401.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D3A
Deuteranopia (green-blind)
#7E7445
Tritanopia (blue-blind)
#008678
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #218940;
/* rgb */ color: rgb(33, 137, 64);
/* oklch */ color: oklch(55.5% 0.143 148.7);
Tailwind
colors: {
  custom: {
    50: '#6dac76',
    500: '#218940',
    950: '#000000',
  },
}
SCSS
$custom: #218940;
$custom-light: #6dac76;
$custom-dark: #000000;
JSON
{
  "hex": "#218940",
  "rgb": {
    "r": 33,
    "g": 137,
    "b": 64
  },
  "hsl": {
    "h": 137.885,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55543,
    "c": 0.143,
    "h": 148.7
  },
  "luminance": 0.18585
}

Semantic roles & 50–950 ramp

primary
#218940
secondary
#B84E98
accent
#44B4E4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #218940

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

Preview Lab → · Contrast checker → · Palette generator →

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