#218D26#218D26

#218D26 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.169 H 143.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#218D26
RGBrgb(33, 141, 38)
HSLhsl(123, 62%, 34%)
HSVhsv(123, 77%, 55%)
CMYKcmyk(76.6%, 0%, 73%, 44.7%)
CIE-LABlab(51.28, -50.08, 44.16)
CIE-LCHlch(51.28, 66.77, 138.59°)
OKLaboklab(56.36% -0.1357 0.1006)
OKLCHoklch(56.36% 0.169 143.5)
XYZxyz(10.5013, 19.5118, 5.0461)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218D26 #8D2188
analogous
#528D21 #218D26 #218D5C
triadic
#218D26 #26218D #8D2621
tetradic
#218D26 #21528D #8D2188 #8D5C21
square
#218D26 #21528D #8D2188 #8D5C21
split-complementary
#218D26 #5C218D #8D2152
monochromatic
#0A2A0B #155B19 #218D26 #2DBF33 #52D658

Accessibility & contrast

On white

4.28
#218D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#218D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218D26
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218D26#FFFFFF#000000##000000
##218D261.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F15
Deuteranopia (green-blind)
#847730
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #218d26;
/* rgb */ color: rgb(33, 141, 38);
/* oklch */ color: oklch(56.4% 0.169 143.5);
Tailwind
colors: {
  custom: {
    50: '#6faf67',
    500: '#218d26',
    950: '#000000',
  },
}
SCSS
$custom: #218d26;
$custom-light: #6faf67;
$custom-dark: #000000;
JSON
{
  "hex": "#218d26",
  "rgb": {
    "r": 33,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 122.778,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56355,
    "c": 0.16892,
    "h": 143.5
  },
  "luminance": 0.19513
}

Semantic roles & 50–950 ramp

primary
#218D26
secondary
#BA50B5
accent
#43DEE5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #218D26

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

Preview Lab → · Contrast checker → · Palette generator →

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