#218842#218842

#218842 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.140 H 149.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#218842
RGBrgb(33, 136, 66)
HSLhsl(139, 61%, 33%)
HSVhsv(139, 76%, 53%)
CMYKcmyk(75.7%, 0%, 51.5%, 46.7%)
CIE-LABlab(49.89, -44.74, 29.34)
CIE-LCHlch(49.89, 53.50, 146.74°)
OKLaboklab(55.3% -0.1203 0.0712)
OKLCHoklch(55.3% 0.14 149.4)
XYZxyz(10.4139, 18.3238, 8.1412)
Luminance0.1832 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218842 #882167
analogous
#338821 #218842 #218875
triadic
#218842 #422188 #884221
tetradic
#218842 #213388 #882167 #887521
square
#218842 #213388 #882167 #887521
split-complementary
#218842 #752188 #882133
monochromatic
#092512 #15572A #218842 #2DB95A #4FD47A

Accessibility & contrast

On white

4.50
#218842 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#218842 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218842
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218842#FFFFFF#000000##000000
##2188421.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C3C
Deuteranopia (green-blind)
#7D7347
Tritanopia (blue-blind)
#008578
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #218842;
/* rgb */ color: rgb(33, 136, 66);
/* oklch */ color: oklch(55.3% 0.140 149.4);
Tailwind
colors: {
  custom: {
    50: '#6dac78',
    500: '#218842',
    950: '#000000',
  },
}
SCSS
$custom: #218842;
$custom-light: #6dac78;
$custom-dark: #000000;
JSON
{
  "hex": "#218842",
  "rgb": {
    "r": 33,
    "g": 136,
    "b": 66
  },
  "hsl": {
    "h": 139.223,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55295,
    "c": 0.13979,
    "h": 149.4
  },
  "luminance": 0.18325
}

Semantic roles & 50–950 ramp

primary
#218842
secondary
#B84D95
accent
#44B1E4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #218842

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

Preview Lab → · Contrast checker → · Palette generator →

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