#218B27#218B27

#218B27 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.166 H 143.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#218B27
RGBrgb(33, 139, 39)
HSLhsl(123, 62%, 34%)
HSVhsv(123, 76%, 55%)
CMYKcmyk(76.3%, 0%, 71.9%, 45.5%)
CIE-LABlab(50.61, -49.31, 43.06)
CIE-LCHlch(50.61, 65.46, 138.87°)
OKLaboklab(55.8% -0.1336 0.0984)
OKLCHoklch(55.8% 0.166 143.6)
XYZxyz(10.2254, 18.9339, 5.0348)
Luminance0.1893 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218B27 #8B2185
analogous
#508B21 #218B27 #218B5C
triadic
#218B27 #27218B #8B2721
tetradic
#218B27 #21508B #8B2185 #8B5C21
square
#218B27 #21508B #8B2185 #8B5C21
split-complementary
#218B27 #5C218B #8B2150
monochromatic
#0A280B #155A19 #218B27 #2DBC35 #51D658

Accessibility & contrast

On white

4.39
#218B27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#218B27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218B27
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218B27#FFFFFF#000000##000000
##218B271.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D18
Deuteranopia (green-blind)
#827531
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #218b27;
/* rgb */ color: rgb(33, 139, 39);
/* oklch */ color: oklch(55.8% 0.166 143.6);
Tailwind
colors: {
  custom: {
    50: '#6fae67',
    500: '#218b27',
    950: '#000000',
  },
}
SCSS
$custom: #218b27;
$custom-light: #6fae67;
$custom-dark: #000000;
JSON
{
  "hex": "#218b27",
  "rgb": {
    "r": 33,
    "g": 139,
    "b": 39
  },
  "hsl": {
    "h": 123.396,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.558,
    "c": 0.16589,
    "h": 143.6
  },
  "luminance": 0.18935
}

Semantic roles & 50–950 ramp

primary
#218B27
secondary
#B94FB3
accent
#43DCE5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #218B27

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

Preview Lab → · Contrast checker → · Palette generator →

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