#218B40#218B40

#218B40 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.146 H 148.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#218B40
RGBrgb(33, 139, 64)
HSLhsl(138, 62%, 34%)
HSVhsv(138, 76%, 55%)
CMYKcmyk(76.3%, 0%, 54%, 45.5%)
CIE-LABlab(50.87, -46.18, 31.60)
CIE-LCHlch(50.87, 55.96, 145.61°)
OKLaboklab(56.1% -0.1242 0.0761)
OKLCHoklch(56.1% 0.146 148.5)
XYZxyz(10.7844, 19.1575, 7.9789)
Luminance0.1916 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218B40 #8B216C
analogous
#378B21 #218B40 #218B75
triadic
#218B40 #40218B #8B4021
tetradic
#218B40 #21378B #8B216C #8B7521
square
#218B40 #21378B #8B216C #8B7521
split-complementary
#218B40 #75218B #8B2137
monochromatic
#0A2812 #155A29 #218B40 #2DBC57 #51D678

Accessibility & contrast

On white

4.35
#218B40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#218B40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218B40
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218B40#FFFFFF#000000##000000
##218B401.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E39
Deuteranopia (green-blind)
#807646
Tritanopia (blue-blind)
#00887A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #218b40;
/* rgb */ color: rgb(33, 139, 64);
/* oklch */ color: oklch(56.1% 0.146 148.5);
Tailwind
colors: {
  custom: {
    50: '#6eae76',
    500: '#218b40',
    950: '#000000',
  },
}
SCSS
$custom: #218b40;
$custom-light: #6eae76;
$custom-dark: #000000;
JSON
{
  "hex": "#218b40",
  "rgb": {
    "r": 33,
    "g": 139,
    "b": 64
  },
  "hsl": {
    "h": 137.547,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56101,
    "c": 0.14566,
    "h": 148.5
  },
  "luminance": 0.19159
}

Semantic roles & 50–950 ramp

primary
#218B40
secondary
#B94F9A
accent
#43B5E5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #218B40

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

Preview Lab → · Contrast checker → · Palette generator →

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