#218E1F#218E1F

#218E1F is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.174 H 142.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#218E1F
RGBrgb(33, 142, 31)
HSLhsl(119, 64%, 34%)
HSVhsv(119, 78%, 56%)
CMYKcmyk(76.8%, 0%, 78.2%, 44.3%)
CIE-LABlab(51.57, -50.99, 47.07)
CIE-LCHlch(51.57, 69.40, 137.29°)
OKLaboklab(56.58% -0.1385 0.1057)
OKLCHoklch(56.58% 0.174 142.7)
XYZxyz(10.5469, 19.7670, 4.5556)
Luminance0.1977 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218E1F #8C1F8E
analogous
#598E1F #218E1F #1F8E55
triadic
#218E1F #1F218E #8E1F21
tetradic
#218E1F #1F598E #8C1F8E #8E551F
square
#218E1F #1F598E #8C1F8E #8E551F
split-complementary
#218E1F #551F8E #8E1F59
monochromatic
#0A2A09 #155C14 #218E1F #2DC02A #51D94F

Accessibility & contrast

On white

4.24
#218E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#218E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218E1F
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218E1F#FFFFFF#000000##000000
##218E1F1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918004
Deuteranopia (green-blind)
#85782C
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #218e1f;
/* rgb */ color: rgb(33, 142, 31);
/* oklch */ color: oklch(56.6% 0.174 142.7);
Tailwind
colors: {
  custom: {
    50: '#70b063',
    500: '#218e1f',
    950: '#000000',
  },
}
SCSS
$custom: #218e1f;
$custom-light: #70b063;
$custom-dark: #000000;
JSON
{
  "hex": "#218e1f",
  "rgb": {
    "r": 33,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 118.919,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56583,
    "c": 0.17423,
    "h": 142.7
  },
  "luminance": 0.19768
}

Semantic roles & 50–950 ramp

primary
#218E1F
secondary
#B94DBB
accent
#41E7E4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #218E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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