#218642#218642

#218642 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.137 H 149.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#218642
RGBrgb(33, 134, 66)
HSLhsl(140, 60%, 33%)
HSVhsv(140, 75%, 53%)
CMYKcmyk(75.4%, 0%, 50.7%, 47.5%)
CIE-LABlab(49.21, -43.98, 28.50)
CIE-LCHlch(49.21, 52.41, 147.06°)
OKLaboklab(54.74% -0.1183 0.0693)
OKLCHoklch(54.74% 0.137 149.6)
XYZxyz(10.1348, 17.7657, 8.0482)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218642 #862165
analogous
#328621 #218642 #218674
triadic
#218642 #422186 #864221
tetradic
#218642 #213286 #862165 #867421
square
#218642 #213286 #862165 #867421
split-complementary
#218642 #742186 #862132
monochromatic
#092412 #15552A #218642 #2DB75A #4ED37A

Accessibility & contrast

On white

4.61
#218642 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#218642 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #218642
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218642#FFFFFF#000000##FFFFFF
##2186421.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877A3C
Deuteranopia (green-blind)
#7B7247
Tritanopia (blue-blind)
#008376
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #218642;
/* rgb */ color: rgb(33, 134, 66);
/* oklch */ color: oklch(54.7% 0.137 149.6);
Tailwind
colors: {
  custom: {
    50: '#6caa78',
    500: '#218642',
    950: '#000000',
  },
}
SCSS
$custom: #218642;
$custom-light: #6caa78;
$custom-dark: #000000;
JSON
{
  "hex": "#218642",
  "rgb": {
    "r": 33,
    "g": 134,
    "b": 66
  },
  "hsl": {
    "h": 139.604,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54737,
    "c": 0.13709,
    "h": 149.6
  },
  "luminance": 0.17767
}

Semantic roles & 50–950 ramp

primary
#218642
secondary
#B74C94
accent
#44B0E4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #218642

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

Preview Lab → · Contrast checker → · Palette generator →

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