#218740#218740

#218740 is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.0% C 0.140 H 148.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#218740
RGBrgb(33, 135, 64)
HSLhsl(138, 61%, 33%)
HSVhsv(138, 76%, 53%)
CMYKcmyk(75.6%, 0%, 52.6%, 47.1%)
CIE-LABlab(49.52, -44.69, 29.94)
CIE-LCHlch(49.52, 53.79, 146.18°)
OKLaboklab(54.98% -0.1202 0.0724)
OKLCHoklch(54.98% 0.14 148.9)
XYZxyz(10.2158, 18.0203, 7.7894)
Luminance0.1802 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218740 #872168
analogous
#358721 #218740 #218773
triadic
#218740 #402187 #874021
tetradic
#218740 #213587 #872168 #877321
square
#218740 #213587 #872168 #877321
split-complementary
#218740 #732187 #872135
monochromatic
#092511 #155629 #218740 #2DB857 #4FD477

Accessibility & contrast

On white

4.56
#218740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#218740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218740
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218740#FFFFFF#000000##000000
##2187401.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3A
Deuteranopia (green-blind)
#7C7245
Tritanopia (blue-blind)
#008477
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #218740;
/* rgb */ color: rgb(33, 135, 64);
/* oklch */ color: oklch(55.0% 0.140 148.9);
Tailwind
colors: {
  custom: {
    50: '#6dab76',
    500: '#218740',
    950: '#000000',
  },
}
SCSS
$custom: #218740;
$custom-light: #6dab76;
$custom-dark: #000000;
JSON
{
  "hex": "#218740",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 64
  },
  "hsl": {
    "h": 138.235,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54984,
    "c": 0.14033,
    "h": 148.9
  },
  "luminance": 0.18021
}

Semantic roles & 50–950 ramp

primary
#218740
secondary
#B74D97
accent
#44B3E4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #218740

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

Preview Lab → · Contrast checker → · Palette generator →

#218740 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva