#218F24#218F24

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

Color values

HEX#218F24
RGBrgb(33, 143, 36)
HSLhsl(122, 63%, 35%)
HSVhsv(122, 77%, 56%)
CMYKcmyk(76.9%, 0%, 74.8%, 43.9%)
CIE-LABlab(51.94, -50.93, 45.62)
CIE-LCHlch(51.94, 68.37, 138.15°)
OKLaboklab(56.9% -0.1381 0.1034)
OKLCHoklch(56.9% 0.173 143.2)
XYZxyz(10.7674, 20.0944, 4.9799)
Luminance0.2010 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218F24 #8F218C
analogous
#558F21 #218F24 #218F5B
triadic
#218F24 #24218F #8F2421
tetradic
#218F24 #21558F #8F218C #8F5B21
square
#218F24 #21558F #8F218C #8F5B21
split-complementary
#218F24 #5B218F #8F2155
monochromatic
#0A2C0B #165D17 #218F24 #2CC131 #53D757

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218F24#FFFFFF#000000##000000
##218F241.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)
#928110
Deuteranopia (green-blind)
#86792F
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #218f24;
/* rgb */ color: rgb(33, 143, 36);
/* oklch */ color: oklch(56.9% 0.172 143.2);
Tailwind
colors: {
  custom: {
    50: '#70b166',
    500: '#218f24',
    950: '#000000',
  },
}
SCSS
$custom: #218f24;
$custom-light: #70b166;
$custom-dark: #000000;
JSON
{
  "hex": "#218f24",
  "rgb": {
    "r": 33,
    "g": 143,
    "b": 36
  },
  "hsl": {
    "h": 121.636,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56901,
    "c": 0.1725,
    "h": 143.2
  },
  "luminance": 0.20096
}

Semantic roles & 50–950 ramp

primary
#218F24
secondary
#BB51B8
accent
#42E1E6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #218F24

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

Preview Lab → · Contrast checker → · Palette generator →

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