#218F28#218F28

#218F28 is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.170 H 143.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#218F28
RGBrgb(33, 143, 40)
HSLhsl(124, 63%, 35%)
HSVhsv(124, 77%, 56%)
CMYKcmyk(76.9%, 0%, 72%, 43.9%)
CIE-LABlab(51.97, -50.57, 44.08)
CIE-LCHlch(51.97, 67.09, 138.92°)
OKLaboklab(56.94% -0.1369 0.1007)
OKLCHoklch(56.94% 0.17 143.7)
XYZxyz(10.8320, 20.1202, 5.3198)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218F28 #8F2188
analogous
#518F21 #218F28 #218F5F
triadic
#218F28 #28218F #8F2821
tetradic
#218F28 #21518F #8F2188 #8F5F21
square
#218F28 #21518F #8F2188 #8F5F21
split-complementary
#218F28 #5F218F #8F2151
monochromatic
#0A2C0C #165D1A #218F28 #2CC136 #53D75B

Accessibility & contrast

On white

4.18
#218F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#218F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218F28
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218F28#FFFFFF#000000##000000
##218F281.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928118
Deuteranopia (green-blind)
#867932
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #218f28;
/* rgb */ color: rgb(33, 143, 40);
/* oklch */ color: oklch(56.9% 0.170 143.7);
Tailwind
colors: {
  custom: {
    50: '#70b168',
    500: '#218f28',
    950: '#000000',
  },
}
SCSS
$custom: #218f28;
$custom-light: #70b168;
$custom-dark: #000000;
JSON
{
  "hex": "#218f28",
  "rgb": {
    "r": 33,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 123.818,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56935,
    "c": 0.16996,
    "h": 143.7
  },
  "luminance": 0.20121
}

Semantic roles & 50–950 ramp

primary
#218F28
secondary
#BB51B4
accent
#42DBE6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #218F28

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

Preview Lab → · Contrast checker → · Palette generator →

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