#218A28#218A28

#218A28 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.5% C 0.164 H 143.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#218A28
RGBrgb(33, 138, 40)
HSLhsl(124, 61%, 34%)
HSVhsv(124, 76%, 54%)
CMYKcmyk(76.1%, 0%, 71%, 45.9%)
CIE-LABlab(50.28, -48.87, 42.30)
CIE-LCHlch(50.28, 64.63, 139.12°)
OKLaboklab(55.53% -0.1323 0.0969)
OKLCHoklch(55.53% 0.164 143.8)
XYZxyz(10.0980, 18.6523, 5.0751)
Luminance0.1865 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218A28 #8A2183
analogous
#4E8A21 #218A28 #218A5C
triadic
#218A28 #28218A #8A2821
tetradic
#218A28 #214E8A #8A2183 #8A5C21
square
#218A28 #214E8A #8A2183 #8A5C21
split-complementary
#218A28 #5C218A #8A214E
monochromatic
#09270B #15591A #218A28 #2DBB36 #50D559

Accessibility & contrast

On white

4.44
#218A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#218A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218A28
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218A28#FFFFFF#000000##000000
##218A281.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1A
Deuteranopia (green-blind)
#817431
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #218a28;
/* rgb */ color: rgb(33, 138, 40);
/* oklch */ color: oklch(55.5% 0.164 143.8);
Tailwind
colors: {
  custom: {
    50: '#6ead67',
    500: '#218a28',
    950: '#000000',
  },
}
SCSS
$custom: #218a28;
$custom-light: #6ead67;
$custom-dark: #000000;
JSON
{
  "hex": "#218a28",
  "rgb": {
    "r": 33,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 124,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55527,
    "c": 0.16402,
    "h": 143.8
  },
  "luminance": 0.18653
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #218A28

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

Preview Lab → · Contrast checker → · Palette generator →

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