#218E30#218E30

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

Color values

HEX#218E30
RGBrgb(33, 142, 48)
HSLhsl(128, 62%, 34%)
HSVhsv(128, 77%, 56%)
CMYKcmyk(76.8%, 0%, 66.2%, 44.3%)
CIE-LABlab(51.70, -49.40, 40.36)
CIE-LCHlch(51.70, 63.79, 140.75°)
OKLaboklab(56.73% -0.1334 0.0938)
OKLCHoklch(56.73% 0.163 144.9)
XYZxyz(10.8330, 19.8815, 6.0623)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218E30 #8E217F
analogous
#498E21 #218E30 #218E67
triadic
#218E30 #30218E #8E3021
tetradic
#218E30 #21498E #8E217F #8E6721
square
#218E30 #21498E #8E217F #8E6721
split-complementary
#218E30 #67218E #8E2149
monochromatic
#0A2B0E #155C1F #218E30 #2DC041 #52D765

Accessibility & contrast

On white

4.22
#218E30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##218E30#FFFFFF#000000##000000
##218E301.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908024
Deuteranopia (green-blind)
#847838
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #218e30;
/* rgb */ color: rgb(33, 142, 48);
/* oklch */ color: oklch(56.7% 0.163 144.9);
Tailwind
colors: {
  custom: {
    50: '#6fb06c',
    500: '#218e30',
    950: '#000000',
  },
}
SCSS
$custom: #218e30;
$custom-light: #6fb06c;
$custom-dark: #000000;
JSON
{
  "hex": "#218e30",
  "rgb": {
    "r": 33,
    "g": 142,
    "b": 48
  },
  "hsl": {
    "h": 128.257,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56733,
    "c": 0.16307,
    "h": 144.9
  },
  "luminance": 0.19883
}

Semantic roles & 50–950 ramp

primary
#218E30
secondary
#BA50AC
accent
#42CFE5
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A

Preview Lab

Preview with #218E30

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

Preview Lab → · Contrast checker → · Palette generator →

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