#218A34#218A34

#218A34 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.7% C 0.155 H 145.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#218A34
RGBrgb(33, 138, 52)
HSLhsl(131, 61%, 34%)
HSVhsv(131, 76%, 54%)
CMYKcmyk(76.1%, 0%, 62.3%, 45.9%)
CIE-LABlab(50.39, -47.52, 37.02)
CIE-LCHlch(50.39, 60.23, 142.08°)
OKLaboklab(55.66% -0.1281 0.0871)
OKLCHoklch(55.66% 0.155 145.8)
XYZxyz(10.3348, 18.7470, 6.3220)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218A34 #8A2177
analogous
#428A21 #218A34 #218A68
triadic
#218A34 #34218A #8A3421
tetradic
#218A34 #21428A #8A2177 #8A6821
square
#218A34 #21428A #8A2177 #8A6821
split-complementary
#218A34 #68218A #8A2142
monochromatic
#09270F #155921 #218A34 #2DBB47 #50D568

Accessibility & contrast

On white

4.42
#218A34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#218A34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218A34
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218A34#FFFFFF#000000##000000
##218A341.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D2B
Deuteranopia (green-blind)
#80753B
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #218a34;
/* rgb */ color: rgb(33, 138, 52);
/* oklch */ color: oklch(55.7% 0.155 145.8);
Tailwind
colors: {
  custom: {
    50: '#6ead6f',
    500: '#218a34',
    950: '#000000',
  },
}
SCSS
$custom: #218a34;
$custom-light: #6ead6f;
$custom-dark: #000000;
JSON
{
  "hex": "#218a34",
  "rgb": {
    "r": 33,
    "g": 138,
    "b": 52
  },
  "hsl": {
    "h": 130.857,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55656,
    "c": 0.15489,
    "h": 145.8
  },
  "luminance": 0.18748
}

Semantic roles & 50–950 ramp

primary
#218A34
secondary
#B94EA5
accent
#43C7E5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #218A34

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

Preview Lab → · Contrast checker → · Palette generator →

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