#217B16#217B16

#217B16 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.157 H 141.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#217B16
RGBrgb(33, 123, 22)
HSLhsl(113, 70%, 28%)
HSVhsv(113, 82%, 48%)
CMYKcmyk(73.2%, 0%, 82.1%, 51.8%)
CIE-LABlab(45.01, -45.17, 43.77)
CIE-LCHlch(45.01, 62.90, 135.90°)
OKLaboklab(51.11% -0.1232 0.0975)
OKLCHoklch(51.11% 0.157 141.6)
XYZxyz(7.8545, 14.5463, 3.1527)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B16 #70167B
analogous
#537B16 #217B16 #167B3D
triadic
#217B16 #16217B #7B1621
tetradic
#217B16 #16537B #70167B #7B3D16
square
#217B16 #16537B #70167B #7B3D16
split-complementary
#217B16 #3D167B #7B1653
monochromatic
#071A05 #13470D #217B16 #2FAF1F #44DA31

Accessibility & contrast

On white

5.37
#217B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#217B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B16
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B16#FFFFFF#000000##FFFFFF
##217B161.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#087768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217b16;
/* rgb */ color: rgb(33, 123, 22);
/* oklch */ color: oklch(51.1% 0.157 141.6);
Tailwind
colors: {
  custom: {
    50: '#6ca25c',
    500: '#217b16',
    950: '#000000',
  },
}
SCSS
$custom: #217b16;
$custom-light: #6ca25c;
$custom-dark: #000000;
JSON
{
  "hex": "#217b16",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 113.465,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51112,
    "c": 0.15712,
    "h": 141.6
  },
  "luminance": 0.14547
}

Semantic roles & 50–950 ramp

primary
#217B16
secondary
#A43DB0
accent
#3BECD9
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #217B16

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

Preview Lab → · Contrast checker → · Palette generator →

#217B16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva