#218142#218142

#218142 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.130 H 150.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#218142
RGBrgb(33, 129, 66)
HSLhsl(141, 59%, 32%)
HSVhsv(141, 74%, 51%)
CMYKcmyk(74.4%, 0%, 48.8%, 49.4%)
CIE-LABlab(47.52, -42.06, 26.36)
CIE-LCHlch(47.52, 49.64, 147.92°)
OKLaboklab(53.34% -0.1132 0.0644)
OKLCHoklch(53.34% 0.13 150.3)
XYZxyz(9.4600, 16.4161, 7.8233)
Luminance0.1642 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218142 #812160
analogous
#308121 #218142 #218172
triadic
#218142 #422181 #814221
tetradic
#218142 #213081 #812160 #817221
square
#218142 #213081 #812160 #817221
split-complementary
#218142 #722181 #812130
monochromatic
#082010 #155029 #218142 #2DB25B #4BD179

Accessibility & contrast

On white

4.90
#218142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#218142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218142
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218142#FFFFFF#000000##FFFFFF
##2181421.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82763D
Deuteranopia (green-blind)
#766E46
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #218142;
/* rgb */ color: rgb(33, 129, 66);
/* oklch */ color: oklch(53.3% 0.130 150.3);
Tailwind
colors: {
  custom: {
    50: '#6ba677',
    500: '#218142',
    950: '#000000',
  },
}
SCSS
$custom: #218142;
$custom-light: #6ba677;
$custom-dark: #000000;
JSON
{
  "hex": "#218142",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 66
  },
  "hsl": {
    "h": 140.625,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53335,
    "c": 0.13023,
    "h": 150.3
  },
  "luminance": 0.16417
}

Semantic roles & 50–950 ramp

primary
#218142
secondary
#B44A8F
accent
#45ACE2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #218142

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

Preview Lab → · Contrast checker → · Palette generator →

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