#218F2B#218F2B

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

Color values

HEX#218F2B
RGBrgb(33, 143, 43)
HSLhsl(125, 63%, 35%)
HSVhsv(125, 77%, 56%)
CMYKcmyk(76.9%, 0%, 69.9%, 43.9%)
CIE-LABlab(52.00, -50.28, 42.86)
CIE-LCHlch(52.00, 66.07, 139.55°)
OKLaboklab(56.96% -0.136 0.0985)
OKLCHoklch(56.96% 0.168 144.1)
XYZxyz(10.8850, 20.1414, 5.5990)
Luminance0.2014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218F2B #8F2185
analogous
#4E8F21 #218F2B #218F62
triadic
#218F2B #2B218F #8F2B21
tetradic
#218F2B #214E8F #8F2185 #8F6221
square
#218F2B #214E8F #8F2185 #8F6221
split-complementary
#218F2B #62218F #8F214E
monochromatic
#0A2C0D #165D1C #218F2B #2CC13A #53D75F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218F2B#FFFFFF#000000##000000
##218F2B1.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)
#92811D
Deuteranopia (green-blind)
#867935
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #218f2b;
/* rgb */ color: rgb(33, 143, 43);
/* oklch */ color: oklch(57.0% 0.168 144.1);
Tailwind
colors: {
  custom: {
    50: '#70b16a',
    500: '#218f2b',
    950: '#000000',
  },
}
SCSS
$custom: #218f2b;
$custom-light: #70b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#218f2b",
  "rgb": {
    "r": 33,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 125.455,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56962,
    "c": 0.16793,
    "h": 144.1
  },
  "luminance": 0.20143
}

Semantic roles & 50–950 ramp

primary
#218F2B
secondary
#BB51B1
accent
#42D7E6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #218F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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