#218F42#218F42

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

Color values

HEX#218F42
RGBrgb(33, 143, 66)
HSLhsl(138, 63%, 35%)
HSVhsv(138, 77%, 56%)
CMYKcmyk(76.9%, 0%, 53.8%, 43.9%)
CIE-LABlab(52.24, -47.34, 32.25)
CIE-LCHlch(52.24, 57.28, 145.74°)
OKLaboklab(57.25% -0.1273 0.0777)
OKLCHoklch(57.25% 0.149 148.6)
XYZxyz(11.4321, 20.3603, 8.4806)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218F42 #8F216E
analogous
#378F21 #218F42 #218F79
triadic
#218F42 #42218F #8F4221
tetradic
#218F42 #21378F #8F216E #8F7921
square
#218F42 #21378F #8F216E #8F7921
split-complementary
#218F42 #79218F #8F2137
monochromatic
#0A2C14 #165D2B #218F42 #2CC159 #53D77B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218F42#FFFFFF#000000##000000
##218F421.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)
#90823B
Deuteranopia (green-blind)
#847948
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #218f42;
/* rgb */ color: rgb(33, 143, 66);
/* oklch */ color: oklch(57.2% 0.149 148.6);
Tailwind
colors: {
  custom: {
    50: '#6fb178',
    500: '#218f42',
    950: '#000000',
  },
}
SCSS
$custom: #218f42;
$custom-light: #6fb178;
$custom-dark: #000000;
JSON
{
  "hex": "#218f42",
  "rgb": {
    "r": 33,
    "g": 143,
    "b": 66
  },
  "hsl": {
    "h": 138,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57245,
    "c": 0.1491,
    "h": 148.6
  },
  "luminance": 0.20362
}

Semantic roles & 50–950 ramp

primary
#218F42
secondary
#BB519B
accent
#42B5E6
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081109
muted
#7B807B

Preview Lab

Preview with #218F42

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

Preview Lab → · Contrast checker → · Palette generator →

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