#218C31#218C31

#218C31 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.160 H 145.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#218C31
RGBrgb(33, 140, 49)
HSLhsl(129, 62%, 34%)
HSVhsv(129, 76%, 55%)
CMYKcmyk(76.4%, 0%, 65%, 45.1%)
CIE-LABlab(51.04, -48.59, 39.16)
CIE-LCHlch(51.04, 62.41, 141.13°)
OKLaboklab(56.18% -0.1311 0.0913)
OKLCHoklch(56.18% 0.16 145.1)
XYZxyz(10.5589, 19.3000, 6.0739)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218C31 #8C217C
analogous
#478C21 #218C31 #218C67
triadic
#218C31 #31218C #8C3121
tetradic
#218C31 #21478C #8C217C #8C6721
square
#218C31 #21478C #8C217C #8C6721
split-complementary
#218C31 #67218C #8C2147
monochromatic
#0A290E #155A20 #218C31 #2DBE42 #51D665

Accessibility & contrast

On white

4.32
#218C31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#218C31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218C31
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218C31#FFFFFF#000000##000000
##218C311.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F26
Deuteranopia (green-blind)
#827639
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #218c31;
/* rgb */ color: rgb(33, 140, 49);
/* oklch */ color: oklch(56.2% 0.160 145.1);
Tailwind
colors: {
  custom: {
    50: '#6faf6d',
    500: '#218c31',
    950: '#000000',
  },
}
SCSS
$custom: #218c31;
$custom-light: #6faf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#218c31",
  "rgb": {
    "r": 33,
    "g": 140,
    "b": 49
  },
  "hsl": {
    "h": 128.972,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56183,
    "c": 0.15982,
    "h": 145.1
  },
  "luminance": 0.19301
}

Semantic roles & 50–950 ramp

primary
#218C31
secondary
#B94FAA
accent
#43CDE5
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #218C31

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

Preview Lab → · Contrast checker → · Palette generator →

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