#218B28#218B28

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

Color values

HEX#218B28
RGBrgb(33, 139, 40)
HSLhsl(124, 62%, 34%)
HSVhsv(124, 76%, 55%)
CMYKcmyk(76.3%, 0%, 71.2%, 45.5%)
CIE-LABlab(50.62, -49.21, 42.65)
CIE-LCHlch(50.62, 65.12, 139.08°)
OKLaboklab(55.81% -0.1332 0.0977)
OKLCHoklch(55.81% 0.165 143.8)
XYZxyz(10.2422, 18.9406, 5.1232)
Luminance0.1894 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218B28 #8B2184
analogous
#4F8B21 #218B28 #218B5D
triadic
#218B28 #28218B #8B2821
tetradic
#218B28 #214F8B #8B2184 #8B5D21
square
#218B28 #214F8B #8B2184 #8B5D21
split-complementary
#218B28 #5D218B #8B214F
monochromatic
#0A280C #155A1A #218B28 #2DBC36 #51D65A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218B28#FFFFFF#000000##000000
##218B281.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)
#8E7D19
Deuteranopia (green-blind)
#827532
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #218b28;
/* rgb */ color: rgb(33, 139, 40);
/* oklch */ color: oklch(55.8% 0.165 143.8);
Tailwind
colors: {
  custom: {
    50: '#6fae68',
    500: '#218b28',
    950: '#000000',
  },
}
SCSS
$custom: #218b28;
$custom-light: #6fae68;
$custom-dark: #000000;
JSON
{
  "hex": "#218b28",
  "rgb": {
    "r": 33,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 123.962,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55809,
    "c": 0.16522,
    "h": 143.8
  },
  "luminance": 0.18942
}

Semantic roles & 50–950 ramp

primary
#218B28
secondary
#B94FB2
accent
#43DAE5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #218B28

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

Preview Lab → · Contrast checker → · Palette generator →

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