#218B21#218B21

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

Color values

HEX#218B21
RGBrgb(33, 139, 33)
HSLhsl(120, 62%, 34%)
HSVhsv(120, 76%, 55%)
CMYKcmyk(76.3%, 0%, 76.3%, 45.5%)
CIE-LABlab(50.57, -49.84, 45.36)
CIE-LCHlch(50.57, 67.39, 137.69°)
OKLaboklab(55.75% -0.1353 0.1024)
OKLCHoklch(55.75% 0.17 142.9)
XYZxyz(10.1337, 18.8972, 4.5520)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218B21 #8B218B
analogous
#568B21 #218B21 #218B56
triadic
#218B21 #21218B #8B2121
tetradic
#218B21 #21568B #8B218B #8B5621
square
#218B21 #21568B #8B218B #8B5621
split-complementary
#218B21 #56218B #8B2156
monochromatic
#0A280A #155A15 #218B21 #2DBC2D #51D651

Accessibility & contrast

On white

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

On black

4.78
#218B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218B21
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218B21#FFFFFF#000000##000000
##218B211.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0C
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #218b21;
/* rgb */ color: rgb(33, 139, 33);
/* oklch */ color: oklch(55.8% 0.170 142.9);
Tailwind
colors: {
  custom: {
    50: '#6fae64',
    500: '#218b21',
    950: '#000000',
  },
}
SCSS
$custom: #218b21;
$custom-light: #6fae64;
$custom-dark: #000000;
JSON
{
  "hex": "#218b21",
  "rgb": {
    "r": 33,
    "g": 139,
    "b": 33
  },
  "hsl": {
    "h": 120,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55751,
    "c": 0.16967,
    "h": 142.9
  },
  "luminance": 0.18898
}

Semantic roles & 50–950 ramp

primary
#218B21
secondary
#B94FB9
accent
#43E5E5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #218B21

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

Preview Lab → · Contrast checker → · Palette generator →

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