#218E2F#218E2F

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

Color values

HEX#218E2F
RGBrgb(33, 142, 47)
HSLhsl(128, 62%, 34%)
HSVhsv(128, 77%, 56%)
CMYKcmyk(76.8%, 0%, 66.9%, 44.3%)
CIE-LABlab(51.69, -49.51, 40.80)
CIE-LCHlch(51.69, 64.16, 140.51°)
OKLaboklab(56.72% -0.1337 0.0946)
OKLCHoklch(56.72% 0.164 144.7)
XYZxyz(10.8126, 19.8733, 5.9549)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218E2F #8E2180
analogous
#4A8E21 #218E2F #218E66
triadic
#218E2F #2F218E #8E2F21
tetradic
#218E2F #214A8E #8E2180 #8E6621
square
#218E2F #214A8E #8E2180 #8E6621
split-complementary
#218E2F #66218E #8E214A
monochromatic
#0A2B0E #155C1F #218E2F #2DC03F #52D763

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218E2F#FFFFFF#000000##000000
##218E2F1.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)
#918023
Deuteranopia (green-blind)
#847838
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #218e2f;
/* rgb */ color: rgb(33, 142, 47);
/* oklch */ color: oklch(56.7% 0.164 144.7);
Tailwind
colors: {
  custom: {
    50: '#6fb06c',
    500: '#218e2f',
    950: '#000000',
  },
}
SCSS
$custom: #218e2f;
$custom-light: #6fb06c;
$custom-dark: #000000;
JSON
{
  "hex": "#218e2f",
  "rgb": {
    "r": 33,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 127.706,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56722,
    "c": 0.16382,
    "h": 144.7
  },
  "luminance": 0.19875
}

Semantic roles & 50–950 ramp

primary
#218E2F
secondary
#BA50AD
accent
#42D0E5
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #218E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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