#218B26#218B26

#218B26 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.167 H 143.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#218B26
RGBrgb(33, 139, 38)
HSLhsl(123, 62%, 34%)
HSVhsv(123, 76%, 55%)
CMYKcmyk(76.3%, 0%, 72.7%, 45.5%)
CIE-LABlab(50.60, -49.40, 43.46)
CIE-LCHlch(50.60, 65.80, 138.66°)
OKLaboklab(55.79% -0.1339 0.0991)
OKLCHoklch(55.79% 0.167 143.5)
XYZxyz(10.2090, 18.9273, 4.9487)
Luminance0.1893 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218B26 #8B2186
analogous
#518B21 #218B26 #218B5B
triadic
#218B26 #26218B #8B2621
tetradic
#218B26 #21518B #8B2186 #8B5B21
square
#218B26 #21518B #8B2186 #8B5B21
split-complementary
#218B26 #5B218B #8B2151
monochromatic
#0A280B #155A18 #218B26 #2DBC34 #51D657

Accessibility & contrast

On white

4.39
#218B26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#218B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218B26
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218B26#FFFFFF#000000##000000
##218B261.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D16
Deuteranopia (green-blind)
#827530
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #218b26;
/* rgb */ color: rgb(33, 139, 38);
/* oklch */ color: oklch(55.8% 0.167 143.5);
Tailwind
colors: {
  custom: {
    50: '#6fae66',
    500: '#218b26',
    950: '#000000',
  },
}
SCSS
$custom: #218b26;
$custom-light: #6fae66;
$custom-dark: #000000;
JSON
{
  "hex": "#218b26",
  "rgb": {
    "r": 33,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 122.83,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55791,
    "c": 0.16656,
    "h": 143.5
  },
  "luminance": 0.18929
}

Semantic roles & 50–950 ramp

primary
#218B26
secondary
#B94FB4
accent
#43DDE5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #218B26

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

Preview Lab → · Contrast checker → · Palette generator →

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