#218340#218340

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

Color values

HEX#218340
RGBrgb(33, 131, 64)
HSLhsl(139, 60%, 32%)
HSVhsv(139, 75%, 51%)
CMYKcmyk(74.8%, 0%, 51.1%, 48.6%)
CIE-LABlab(48.17, -43.17, 28.26)
CIE-LCHlch(48.17, 51.60, 146.79°)
OKLaboklab(53.86% -0.1161 0.0686)
OKLCHoklch(53.86% 0.135 149.4)
XYZxyz(9.6681, 16.9250, 7.6068)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218340 #832164
analogous
#338321 #218340 #218371
triadic
#218340 #402183 #834021
tetradic
#218340 #213383 #832164 #837121
square
#218340 #213383 #832164 #837121
split-complementary
#218340 #712183 #832133
monochromatic
#082110 #155228 #218340 #2DB458 #4CD277

Accessibility & contrast

On white

4.79
#218340 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #218340
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218340#FFFFFF#000000##FFFFFF
##2183401.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84773A
Deuteranopia (green-blind)
#786F45
Tritanopia (blue-blind)
#008073
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #218340;
/* rgb */ color: rgb(33, 131, 64);
/* oklch */ color: oklch(53.9% 0.135 149.4);
Tailwind
colors: {
  custom: {
    50: '#6ca876',
    500: '#218340',
    950: '#000000',
  },
}
SCSS
$custom: #218340;
$custom-light: #6ca876;
$custom-dark: #000000;
JSON
{
  "hex": "#218340",
  "rgb": {
    "r": 33,
    "g": 131,
    "b": 64
  },
  "hsl": {
    "h": 138.98,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53863,
    "c": 0.13491,
    "h": 149.4
  },
  "luminance": 0.16926
}

Semantic roles & 50–950 ramp

primary
#218340
secondary
#B54B93
accent
#45B1E3
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #218340

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

Preview Lab → · Contrast checker → · Palette generator →

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