#218342#218342

#218342 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.133 H 150.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#218342
RGBrgb(33, 131, 66)
HSLhsl(140, 60%, 32%)
HSVhsv(140, 75%, 51%)
CMYKcmyk(74.8%, 0%, 49.6%, 48.6%)
CIE-LABlab(48.19, -42.83, 27.22)
CIE-LCHlch(48.19, 50.75, 147.56°)
OKLaboklab(53.9% -0.1152 0.0664)
OKLCHoklch(53.9% 0.133 150.1)
XYZxyz(9.7261, 16.9482, 7.9119)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218342 #832162
analogous
#318321 #218342 #218373
triadic
#218342 #422183 #834221
tetradic
#218342 #213183 #832162 #837321
square
#218342 #213183 #832162 #837321
split-complementary
#218342 #732183 #832131
monochromatic
#082111 #155229 #218342 #2DB45B #4CD279

Accessibility & contrast

On white

4.78
#218342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#218342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218342
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218342#FFFFFF#000000##FFFFFF
##2183421.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84773D
Deuteranopia (green-blind)
#786F47
Tritanopia (blue-blind)
#008174
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #218342;
/* rgb */ color: rgb(33, 131, 66);
/* oklch */ color: oklch(53.9% 0.133 150.1);
Tailwind
colors: {
  custom: {
    50: '#6ca877',
    500: '#218342',
    950: '#000000',
  },
}
SCSS
$custom: #218342;
$custom-light: #6ca877;
$custom-dark: #000000;
JSON
{
  "hex": "#218342",
  "rgb": {
    "r": 33,
    "g": 131,
    "b": 66
  },
  "hsl": {
    "h": 140.204,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53897,
    "c": 0.13299,
    "h": 150.1
  },
  "luminance": 0.16949
}

Semantic roles & 50–950 ramp

primary
#218342
secondary
#B54B91
accent
#45AEE3
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #218342

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

Preview Lab → · Contrast checker → · Palette generator →

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