#218E31#218E31

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

Color values

HEX#218E31
RGBrgb(33, 142, 49)
HSLhsl(129, 62%, 34%)
HSVhsv(129, 77%, 56%)
CMYKcmyk(76.8%, 0%, 65.5%, 44.3%)
CIE-LABlab(51.71, -49.29, 39.92)
CIE-LCHlch(51.71, 63.42, 141.00°)
OKLaboklab(56.74% -0.133 0.0929)
OKLCHoklch(56.74% 0.162 145.1)
XYZxyz(10.8538, 19.8898, 6.1722)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218E31 #8E217E
analogous
#488E21 #218E31 #218E68
triadic
#218E31 #31218E #8E3121
tetradic
#218E31 #21488E #8E217E #8E6821
square
#218E31 #21488E #8E217E #8E6821
split-complementary
#218E31 #68218E #8E2148
monochromatic
#0A2B0F #155C20 #218E31 #2DC042 #52D766

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218E31#FFFFFF#000000##000000
##218E311.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)
#908026
Deuteranopia (green-blind)
#847839
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #218e31;
/* rgb */ color: rgb(33, 142, 49);
/* oklch */ color: oklch(56.7% 0.162 145.1);
Tailwind
colors: {
  custom: {
    50: '#6fb06d',
    500: '#218e31',
    950: '#000000',
  },
}
SCSS
$custom: #218e31;
$custom-light: #6fb06d;
$custom-dark: #000000;
JSON
{
  "hex": "#218e31",
  "rgb": {
    "r": 33,
    "g": 142,
    "b": 49
  },
  "hsl": {
    "h": 128.807,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56743,
    "c": 0.16229,
    "h": 145.1
  },
  "luminance": 0.19891
}

Semantic roles & 50–950 ramp

primary
#218E31
secondary
#BA50AB
accent
#42CDE5
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A

Preview Lab

Preview with #218E31

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

Preview Lab → · Contrast checker → · Palette generator →

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