#218E2B#218E2B

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

Color values

HEX#218E2B
RGBrgb(33, 142, 43)
HSLhsl(126, 62%, 34%)
HSVhsv(126, 77%, 56%)
CMYKcmyk(76.8%, 0%, 69.7%, 44.3%)
CIE-LABlab(51.66, -49.94, 42.50)
CIE-LCHlch(51.66, 65.58, 139.60°)
OKLaboklab(56.68% -0.1351 0.0977)
OKLCHoklch(56.68% 0.167 144.1)
XYZxyz(10.7355, 19.8425, 5.5492)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218E2B #8E2184
analogous
#4D8E21 #218E2B #218E62
triadic
#218E2B #2B218E #8E2B21
tetradic
#218E2B #214D8E #8E2184 #8E6221
square
#218E2B #214D8E #8E2184 #8E6221
split-complementary
#218E2B #62218E #8E214D
monochromatic
#0A2B0D #155C1C #218E2B #2DC03A #52D75F

Accessibility & contrast

On white

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

On black

4.97
#218E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218E2B
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218E2B#FFFFFF#000000##000000
##218E2B1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801D
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #218e2b;
/* rgb */ color: rgb(33, 142, 43);
/* oklch */ color: oklch(56.7% 0.167 144.1);
Tailwind
colors: {
  custom: {
    50: '#6fb06a',
    500: '#218e2b',
    950: '#000000',
  },
}
SCSS
$custom: #218e2b;
$custom-light: #6fb06a;
$custom-dark: #000000;
JSON
{
  "hex": "#218e2b",
  "rgb": {
    "r": 33,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 125.505,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56682,
    "c": 0.16673,
    "h": 144.1
  },
  "luminance": 0.19844
}

Semantic roles & 50–950 ramp

primary
#218E2B
secondary
#BA50B1
accent
#42D6E5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #218E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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