#218E34#218E34

#218E34 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.160 H 145.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#218E34
RGBrgb(33, 142, 52)
HSLhsl(130, 62%, 34%)
HSVhsv(130, 77%, 56%)
CMYKcmyk(76.8%, 0%, 63.4%, 44.3%)
CIE-LABlab(51.74, -48.93, 38.56)
CIE-LCHlch(51.74, 62.30, 141.75°)
OKLaboklab(56.78% -0.132 0.0904)
OKLCHoklch(56.78% 0.16 145.6)
XYZxyz(10.9193, 19.9160, 6.5168)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218E34 #8E217B
analogous
#448E21 #218E34 #218E6B
triadic
#218E34 #34218E #8E3421
tetradic
#218E34 #21448E #8E217B #8E6B21
square
#218E34 #21448E #8E217B #8E6B21
split-complementary
#218E34 #6B218E #8E2144
monochromatic
#0A2B10 #155C22 #218E34 #2DC046 #52D76A

Accessibility & contrast

On white

4.21
#218E34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#218E34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218E34
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218E34#FFFFFF#000000##000000
##218E341.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90812A
Deuteranopia (green-blind)
#84783C
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #218e34;
/* rgb */ color: rgb(33, 142, 52);
/* oklch */ color: oklch(56.8% 0.160 145.6);
Tailwind
colors: {
  custom: {
    50: '#6fb06f',
    500: '#218e34',
    950: '#000000',
  },
}
SCSS
$custom: #218e34;
$custom-light: #6fb06f;
$custom-dark: #000000;
JSON
{
  "hex": "#218e34",
  "rgb": {
    "r": 33,
    "g": 142,
    "b": 52
  },
  "hsl": {
    "h": 130.459,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56778,
    "c": 0.15992,
    "h": 145.6
  },
  "luminance": 0.19917
}

Semantic roles & 50–950 ramp

primary
#218E34
secondary
#BA50A8
accent
#42C9E5
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#081107
muted
#7B807A

Preview Lab

Preview with #218E34

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

Preview Lab → · Contrast checker → · Palette generator →

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