#218F2A#218F2A

#218F2A is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.169 H 143.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#218F2A
RGBrgb(33, 143, 42)
HSLhsl(125, 63%, 35%)
HSVhsv(125, 77%, 56%)
CMYKcmyk(76.9%, 0%, 70.6%, 43.9%)
CIE-LABlab(51.99, -50.38, 43.27)
CIE-LCHlch(51.99, 66.41, 139.34°)
OKLaboklab(56.95% -0.1363 0.0992)
OKLCHoklch(56.95% 0.169 143.9)
XYZxyz(10.8669, 20.1342, 5.5036)
Luminance0.2014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218F2A #8F2186
analogous
#4F8F21 #218F2A #218F61
triadic
#218F2A #2A218F #8F2A21
tetradic
#218F2A #214F8F #8F2186 #8F6121
square
#218F2A #214F8F #8F2186 #8F6121
split-complementary
#218F2A #61218F #8F214F
monochromatic
#0A2C0D #165D1B #218F2A #2CC139 #53D75E

Accessibility & contrast

On white

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

On black

5.03
#218F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218F2A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218F2A#FFFFFF#000000##000000
##218F2A1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811B
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #218f2a;
/* rgb */ color: rgb(33, 143, 42);
/* oklch */ color: oklch(57.0% 0.169 143.9);
Tailwind
colors: {
  custom: {
    50: '#70b169',
    500: '#218f2a',
    950: '#000000',
  },
}
SCSS
$custom: #218f2a;
$custom-light: #70b169;
$custom-dark: #000000;
JSON
{
  "hex": "#218f2a",
  "rgb": {
    "r": 33,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 124.909,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56953,
    "c": 0.16861,
    "h": 143.9
  },
  "luminance": 0.20135
}

Semantic roles & 50–950 ramp

primary
#218F2A
secondary
#BB51B2
accent
#42D8E6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #218F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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