#218E28#218E28

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

Color values

HEX#218E28
RGBrgb(33, 142, 40)
HSLhsl(124, 62%, 34%)
HSVhsv(124, 77%, 56%)
CMYKcmyk(76.8%, 0%, 71.8%, 44.3%)
CIE-LABlab(51.63, -50.23, 43.72)
CIE-LCHlch(51.63, 66.60, 138.96°)
OKLaboklab(56.65% -0.136 0.0999)
OKLCHoklch(56.65% 0.169 143.7)
XYZxyz(10.6825, 19.8213, 5.2700)
Luminance0.1982 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218E28 #8E2187
analogous
#518E21 #218E28 #218E5F
triadic
#218E28 #28218E #8E2821
tetradic
#218E28 #21518E #8E2187 #8E5F21
square
#218E28 #21518E #8E2187 #8E5F21
split-complementary
#218E28 #5F218E #8E2151
monochromatic
#0A2B0C #155C1A #218E28 #2DC036 #52D75B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218E28#FFFFFF#000000##000000
##218E281.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)
#918018
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #218e28;
/* rgb */ color: rgb(33, 142, 40);
/* oklch */ color: oklch(56.7% 0.169 143.7);
Tailwind
colors: {
  custom: {
    50: '#6fb068',
    500: '#218e28',
    950: '#000000',
  },
}
SCSS
$custom: #218e28;
$custom-light: #6fb068;
$custom-dark: #000000;
JSON
{
  "hex": "#218e28",
  "rgb": {
    "r": 33,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 123.853,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56654,
    "c": 0.16878,
    "h": 143.7
  },
  "luminance": 0.19823
}

Semantic roles & 50–950 ramp

primary
#218E28
secondary
#BA50B4
accent
#42DBE5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #218E28

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

Preview Lab → · Contrast checker → · Palette generator →

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