#218242#218242

#218242 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.132 H 150.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#218242
RGBrgb(33, 130, 66)
HSLhsl(140, 60%, 32%)
HSVhsv(140, 75%, 51%)
CMYKcmyk(74.6%, 0%, 49.2%, 49%)
CIE-LABlab(47.86, -42.45, 26.79)
CIE-LCHlch(47.86, 50.20, 147.74°)
OKLaboklab(53.62% -0.1142 0.0654)
OKLCHoklch(53.62% 0.132 150.2)
XYZxyz(9.5924, 16.6809, 7.8674)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218242 #822161
analogous
#318221 #218242 #218273
triadic
#218242 #422182 #824221
tetradic
#218242 #213182 #822161 #827321
square
#218242 #213182 #822161 #827321
split-complementary
#218242 #732182 #822131
monochromatic
#082010 #155129 #218242 #2DB35B #4CD279

Accessibility & contrast

On white

4.84
#218242 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#218242 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218242
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218242#FFFFFF#000000##FFFFFF
##2182421.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83763D
Deuteranopia (green-blind)
#776E47
Tritanopia (blue-blind)
#008073
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #218242;
/* rgb */ color: rgb(33, 130, 66);
/* oklch */ color: oklch(53.6% 0.132 150.2);
Tailwind
colors: {
  custom: {
    50: '#6ba777',
    500: '#218242',
    950: '#000000',
  },
}
SCSS
$custom: #218242;
$custom-light: #6ba777;
$custom-dark: #000000;
JSON
{
  "hex": "#218242",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 66
  },
  "hsl": {
    "h": 140.412,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53616,
    "c": 0.13161,
    "h": 150.2
  },
  "luminance": 0.16682
}

Semantic roles & 50–950 ramp

primary
#218242
secondary
#B44A90
accent
#45ADE3
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #218242

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

Preview Lab → · Contrast checker → · Palette generator →

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