#218B1E#218B1E

#218B1E is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.7% C 0.171 H 142.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#218B1E
RGBrgb(33, 139, 30)
HSLhsl(118, 64%, 33%)
HSVhsv(118, 78%, 55%)
CMYKcmyk(76.3%, 0%, 78.4%, 45.5%)
CIE-LABlab(50.55, -50.07, 46.42)
CIE-LCHlch(50.55, 68.27, 137.17°)
OKLaboklab(55.73% -0.1361 0.1042)
OKLCHoklch(55.73% 0.171 142.6)
XYZxyz(10.0935, 18.8812, 4.3405)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218B1E #881E8B
analogous
#578B1E #218B1E #1E8B52
triadic
#218B1E #1E218B #8B1E21
tetradic
#218B1E #1E578B #881E8B #8B521E
square
#218B1E #1E578B #881E8B #8B521E
split-complementary
#218B1E #521E8B #8B1E57
monochromatic
#092608 #155913 #218B1E #2DBD29 #4FD84B

Accessibility & contrast

On white

4.40
#218B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#218B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218B1E
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218B1E#FFFFFF#000000##000000
##218B1E1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D04
Deuteranopia (green-blind)
#82752A
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #218b1e;
/* rgb */ color: rgb(33, 139, 30);
/* oklch */ color: oklch(55.7% 0.171 142.6);
Tailwind
colors: {
  custom: {
    50: '#6fae62',
    500: '#218b1e',
    950: '#000000',
  },
}
SCSS
$custom: #218b1e;
$custom-light: #6fae62;
$custom-dark: #000000;
JSON
{
  "hex": "#218b1e",
  "rgb": {
    "r": 33,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 118.349,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55729,
    "c": 0.17137,
    "h": 142.6
  },
  "luminance": 0.18882
}

Semantic roles & 50–950 ramp

primary
#218B1E
secondary
#B84ABB
accent
#40E7E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #218B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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