#218540#218540

#218540 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.138 H 149.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#218540
RGBrgb(33, 133, 64)
HSLhsl(139, 60%, 33%)
HSVhsv(139, 75%, 52%)
CMYKcmyk(75.2%, 0%, 51.9%, 47.8%)
CIE-LABlab(48.84, -43.93, 29.10)
CIE-LCHlch(48.84, 52.70, 146.48°)
OKLaboklab(54.42% -0.1182 0.0705)
OKLCHoklch(54.42% 0.138 149.2)
XYZxyz(9.9393, 17.4674, 7.6972)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218540 #852166
analogous
#348521 #218540 #218572
triadic
#218540 #402185 #854021
tetradic
#218540 #213485 #852166 #857221
square
#218540 #213485 #852166 #857221
split-complementary
#218540 #722185 #852134
monochromatic
#092311 #155428 #218540 #2DB658 #4DD377

Accessibility & contrast

On white

4.67
#218540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#218540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218540
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218540#FFFFFF#000000##FFFFFF
##2185401.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793A
Deuteranopia (green-blind)
#7A7145
Tritanopia (blue-blind)
#008275
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #218540;
/* rgb */ color: rgb(33, 133, 64);
/* oklch */ color: oklch(54.4% 0.138 149.2);
Tailwind
colors: {
  custom: {
    50: '#6ca976',
    500: '#218540',
    950: '#000000',
  },
}
SCSS
$custom: #218540;
$custom-light: #6ca976;
$custom-dark: #000000;
JSON
{
  "hex": "#218540",
  "rgb": {
    "r": 33,
    "g": 133,
    "b": 64
  },
  "hsl": {
    "h": 138.6,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54424,
    "c": 0.13763,
    "h": 149.2
  },
  "luminance": 0.17469
}

Semantic roles & 50–950 ramp

primary
#218540
secondary
#B64C95
accent
#44B2E3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #218540

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

Preview Lab → · Contrast checker → · Palette generator →

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