#218F31#218F31

#218F31 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.164 H 145.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#218F31
RGBrgb(33, 143, 49)
HSLhsl(129, 63%, 35%)
HSVhsv(129, 77%, 56%)
CMYKcmyk(76.9%, 0%, 65.7%, 43.9%)
CIE-LABlab(52.05, -49.63, 40.29)
CIE-LCHlch(52.05, 63.93, 140.93°)
OKLaboklab(57.02% -0.134 0.0937)
OKLCHoklch(57.02% 0.164 145)
XYZxyz(11.0033, 20.1887, 6.2220)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218F31 #8F217F
analogous
#488F21 #218F31 #218F68
triadic
#218F31 #31218F #8F3121
tetradic
#218F31 #21488F #8F217F #8F6821
square
#218F31 #21488F #8F217F #8F6821
split-complementary
#218F31 #68218F #8F2148
monochromatic
#0A2C0F #165D20 #218F31 #2CC142 #53D766

Accessibility & contrast

On white

4.17
#218F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#218F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218F31
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218F31#FFFFFF#000000##000000
##218F311.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918126
Deuteranopia (green-blind)
#857939
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #218f31;
/* rgb */ color: rgb(33, 143, 49);
/* oklch */ color: oklch(57.0% 0.164 145.0);
Tailwind
colors: {
  custom: {
    50: '#6fb16d',
    500: '#218f31',
    950: '#000000',
  },
}
SCSS
$custom: #218f31;
$custom-light: #6fb16d;
$custom-dark: #000000;
JSON
{
  "hex": "#218f31",
  "rgb": {
    "r": 33,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 128.727,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57023,
    "c": 0.16352,
    "h": 145
  },
  "luminance": 0.2019
}

Semantic roles & 50–950 ramp

primary
#218F31
secondary
#BB51AB
accent
#42CEE6
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #218F31

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

Preview Lab → · Contrast checker → · Palette generator →

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