#218A31#218A31

#218A31 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.157 H 145.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#218A31
RGBrgb(33, 138, 49)
HSLhsl(129, 61%, 34%)
HSVhsv(129, 76%, 54%)
CMYKcmyk(76.1%, 0%, 64.5%, 45.9%)
CIE-LABlab(50.36, -47.89, 38.40)
CIE-LCHlch(50.36, 61.38, 141.27°)
OKLaboklab(55.62% -0.1292 0.0897)
OKLCHoklch(55.62% 0.157 145.2)
XYZxyz(10.2693, 18.7209, 5.9774)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218A31 #8A217A
analogous
#458A21 #218A31 #218A65
triadic
#218A31 #31218A #8A3121
tetradic
#218A31 #21458A #8A217A #8A6521
square
#218A31 #21458A #8A217A #8A6521
split-complementary
#218A31 #65218A #8A2145
monochromatic
#09270E #15591F #218A31 #2DBB43 #50D564

Accessibility & contrast

On white

4.43
#218A31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#218A31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218A31
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218A31#FFFFFF#000000##000000
##218A311.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D27
Deuteranopia (green-blind)
#807539
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #218a31;
/* rgb */ color: rgb(33, 138, 49);
/* oklch */ color: oklch(55.6% 0.157 145.2);
Tailwind
colors: {
  custom: {
    50: '#6ead6d',
    500: '#218a31',
    950: '#000000',
  },
}
SCSS
$custom: #218a31;
$custom-light: #6ead6d;
$custom-dark: #000000;
JSON
{
  "hex": "#218a31",
  "rgb": {
    "r": 33,
    "g": 138,
    "b": 49
  },
  "hsl": {
    "h": 129.143,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55621,
    "c": 0.15733,
    "h": 145.2
  },
  "luminance": 0.18722
}

Semantic roles & 50–950 ramp

primary
#218A31
secondary
#B94EA8
accent
#43CCE5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #218A31

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

Preview Lab → · Contrast checker → · Palette generator →

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