#218F40#218F40

#218F40 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.151 H 148.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#218F40
RGBrgb(33, 143, 64)
HSLhsl(137, 63%, 35%)
HSVhsv(137, 77%, 56%)
CMYKcmyk(76.9%, 0%, 55.2%, 43.9%)
CIE-LABlab(52.22, -47.64, 33.24)
CIE-LCHlch(52.22, 58.09, 145.10°)
OKLaboklab(57.22% -0.1281 0.0798)
OKLCHoklch(57.22% 0.151 148.1)
XYZxyz(11.3742, 20.3371, 8.1755)
Luminance0.2034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218F40 #8F2170
analogous
#398F21 #218F40 #218F77
triadic
#218F40 #40218F #8F4021
tetradic
#218F40 #21398F #8F2170 #8F7721
square
#218F40 #21398F #8F2170 #8F7721
split-complementary
#218F40 #77218F #8F2139
monochromatic
#0A2C13 #165D2A #218F40 #2CC156 #53D778

Accessibility & contrast

On white

4.14
#218F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#218F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218F40
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218F40#FFFFFF#000000##000000
##218F401.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#908239
Deuteranopia (green-blind)
#847946
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #218f40;
/* rgb */ color: rgb(33, 143, 64);
/* oklch */ color: oklch(57.2% 0.151 148.1);
Tailwind
colors: {
  custom: {
    50: '#6fb177',
    500: '#218f40',
    950: '#000000',
  },
}
SCSS
$custom: #218f40;
$custom-light: #6fb177;
$custom-dark: #000000;
JSON
{
  "hex": "#218f40",
  "rgb": {
    "r": 33,
    "g": 143,
    "b": 64
  },
  "hsl": {
    "h": 136.909,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57215,
    "c": 0.15091,
    "h": 148.1
  },
  "luminance": 0.20338
}

Semantic roles & 50–950 ramp

primary
#218F40
secondary
#BB519D
accent
#42B8E6
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081109
muted
#7B807B

Preview Lab

Preview with #218F40

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

Preview Lab → · Contrast checker → · Palette generator →

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