#218A27#218A27

#218A27 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.165 H 143.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#218A27
RGBrgb(33, 138, 39)
HSLhsl(123, 61%, 34%)
HSVhsv(123, 76%, 54%)
CMYKcmyk(76.1%, 0%, 71.7%, 45.9%)
CIE-LABlab(50.27, -48.97, 42.70)
CIE-LCHlch(50.27, 64.97, 138.91°)
OKLaboklab(55.52% -0.1326 0.0977)
OKLCHoklch(55.52% 0.165 143.6)
XYZxyz(10.0812, 18.6456, 4.9867)
Luminance0.1865 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218A27 #8A2184
analogous
#4F8A21 #218A27 #218A5B
triadic
#218A27 #27218A #8A2721
tetradic
#218A27 #214F8A #8A2184 #8A5B21
square
#218A27 #214F8A #8A2184 #8A5B21
split-complementary
#218A27 #5B218A #8A214F
monochromatic
#09270B #155919 #218A27 #2DBB35 #50D558

Accessibility & contrast

On white

4.44
#218A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#218A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218A27
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218A27#FFFFFF#000000##000000
##218A271.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D18
Deuteranopia (green-blind)
#817431
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #218a27;
/* rgb */ color: rgb(33, 138, 39);
/* oklch */ color: oklch(55.5% 0.165 143.6);
Tailwind
colors: {
  custom: {
    50: '#6fad67',
    500: '#218a27',
    950: '#000000',
  },
}
SCSS
$custom: #218a27;
$custom-light: #6fad67;
$custom-dark: #000000;
JSON
{
  "hex": "#218a27",
  "rgb": {
    "r": 33,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 123.429,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55518,
    "c": 0.16471,
    "h": 143.6
  },
  "luminance": 0.18647
}

Semantic roles & 50–950 ramp

primary
#218A27
secondary
#B94EB2
accent
#43DBE5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #218A27

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

Preview Lab → · Contrast checker → · Palette generator →

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