#218716#218716

#218716 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.5% C 0.171 H 141.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#218716
RGBrgb(33, 135, 22)
HSLhsl(114, 72%, 31%)
HSVhsv(114, 84%, 53%)
CMYKcmyk(75.6%, 0%, 83.7%, 47.1%)
CIE-LABlab(49.14, -49.26, 47.65)
CIE-LCHlch(49.14, 68.54, 135.95°)
OKLaboklab(54.55% -0.1342 0.1056)
OKLCHoklch(54.55% 0.171 141.8)
XYZxyz(9.4354, 17.7081, 3.6796)
Luminance0.1771 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218716 #7C1687
analogous
#598716 #218716 #168743
triadic
#218716 #162187 #871621
tetradic
#218716 #165987 #7C1687 #874316
square
#218716 #165987 #7C1687 #874316
split-complementary
#218716 #431687 #871659
monochromatic
#071E05 #14520D #218716 #2EBC1F #49DF39

Accessibility & contrast

On white

4.62
#218716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#218716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #218716
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218716#FFFFFF#000000##FFFFFF
##2187161.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#7F7224
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #218716;
/* rgb */ color: rgb(33, 135, 22);
/* oklch */ color: oklch(54.5% 0.171 141.8);
Tailwind
colors: {
  custom: {
    50: '#6fab5e',
    500: '#218716',
    950: '#000000',
  },
}
SCSS
$custom: #218716;
$custom-light: #6fab5e;
$custom-dark: #000000;
JSON
{
  "hex": "#218716",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 114.159,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54546,
    "c": 0.17081,
    "h": 141.8
  },
  "luminance": 0.17709
}

Semantic roles & 50–950 ramp

primary
#218716
secondary
#AF3EBB
accent
#39EFDD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #218716

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

Preview Lab → · Contrast checker → · Palette generator →

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