#218E27#218E27

#218E27 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.169 H 143.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#218E27
RGBrgb(33, 142, 39)
HSLhsl(123, 62%, 34%)
HSVhsv(123, 77%, 56%)
CMYKcmyk(76.8%, 0%, 72.5%, 44.3%)
CIE-LABlab(51.63, -50.33, 44.12)
CIE-LCHlch(51.63, 66.93, 138.76°)
OKLaboklab(56.65% -0.1363 0.1006)
OKLCHoklch(56.65% 0.169 143.6)
XYZxyz(10.6657, 19.8146, 5.1816)
Luminance0.1982 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218E27 #8E2188
analogous
#528E21 #218E27 #218E5E
triadic
#218E27 #27218E #8E2721
tetradic
#218E27 #21528E #8E2188 #8E5E21
square
#218E27 #21528E #8E2188 #8E5E21
split-complementary
#218E27 #5E218E #8E2152
monochromatic
#0A2B0C #155C19 #218E27 #2DC035 #52D75A

Accessibility & contrast

On white

4.23
#218E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#218E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218E27
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218E27#FFFFFF#000000##000000
##218E271.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918016
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #218e27;
/* rgb */ color: rgb(33, 142, 39);
/* oklch */ color: oklch(56.6% 0.169 143.6);
Tailwind
colors: {
  custom: {
    50: '#70b067',
    500: '#218e27',
    950: '#000000',
  },
}
SCSS
$custom: #218e27;
$custom-light: #70b067;
$custom-dark: #000000;
JSON
{
  "hex": "#218e27",
  "rgb": {
    "r": 33,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 123.303,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56645,
    "c": 0.16944,
    "h": 143.6
  },
  "luminance": 0.19816
}

Semantic roles & 50–950 ramp

primary
#218E27
secondary
#BA50B5
accent
#42DCE5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #218E27

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

Preview Lab → · Contrast checker → · Palette generator →

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