#218F2F#218F2F

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

Color values

HEX#218F2F
RGBrgb(33, 143, 47)
HSLhsl(128, 63%, 35%)
HSVhsv(128, 77%, 56%)
CMYKcmyk(76.9%, 0%, 67.1%, 43.9%)
CIE-LABlab(52.03, -49.86, 41.17)
CIE-LCHlch(52.03, 64.66, 140.45°)
OKLaboklab(57% -0.1347 0.0954)
OKLCHoklch(57% 0.165 144.7)
XYZxyz(10.9620, 20.1722, 6.0047)
Luminance0.2017 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218F2F #8F2181
analogous
#4A8F21 #218F2F #218F66
triadic
#218F2F #2F218F #8F2F21
tetradic
#218F2F #214A8F #8F2181 #8F6621
square
#218F2F #214A8F #8F2181 #8F6621
split-complementary
#218F2F #66218F #8F214A
monochromatic
#0A2C0E #165D1F #218F2F #2CC13F #53D764

Accessibility & contrast

On white

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

On black

5.03
#218F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218F2F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218F2F#FFFFFF#000000##000000
##218F2F1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #218f2f;
/* rgb */ color: rgb(33, 143, 47);
/* oklch */ color: oklch(57.0% 0.165 144.7);
Tailwind
colors: {
  custom: {
    50: '#6fb16c',
    500: '#218f2f',
    950: '#000000',
  },
}
SCSS
$custom: #218f2f;
$custom-light: #6fb16c;
$custom-dark: #000000;
JSON
{
  "hex": "#218f2f",
  "rgb": {
    "r": 33,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 127.636,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57002,
    "c": 0.16503,
    "h": 144.7
  },
  "luminance": 0.20173
}

Semantic roles & 50–950 ramp

primary
#218F2F
secondary
#BB51AD
accent
#42D1E6
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #218F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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