#217D16#217D16

#217D16 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.159 H 141.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#217D16
RGBrgb(33, 125, 22)
HSLhsl(114, 70%, 29%)
HSVhsv(114, 82%, 49%)
CMYKcmyk(73.6%, 0%, 82.4%, 51%)
CIE-LABlab(45.70, -45.87, 44.43)
CIE-LCHlch(45.70, 63.85, 135.91°)
OKLaboklab(51.69% -0.1251 0.0989)
OKLCHoklch(51.69% 0.159 141.7)
XYZxyz(8.1052, 15.0476, 3.2362)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D16 #72167D
analogous
#557D16 #217D16 #167D3F
triadic
#217D16 #16217D #7D1621
tetradic
#217D16 #16557D #72167D #7D3F16
square
#217D16 #16557D #72167D #7D3F16
split-complementary
#217D16 #3F167D #7D1655
monochromatic
#071A05 #13490D #217D16 #2FB11F #44DB32

Accessibility & contrast

On white

5.24
#217D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#217D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D16
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D16#FFFFFF#000000##FFFFFF
##217D161.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#766923
Tritanopia (blue-blind)
#06796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217d16;
/* rgb */ color: rgb(33, 125, 22);
/* oklch */ color: oklch(51.7% 0.159 141.7);
Tailwind
colors: {
  custom: {
    50: '#6ca45d',
    500: '#217d16',
    950: '#000000',
  },
}
SCSS
$custom: #217d16;
$custom-light: #6ca45d;
$custom-dark: #000000;
JSON
{
  "hex": "#217d16",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 113.592,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51687,
    "c": 0.15944,
    "h": 141.7
  },
  "luminance": 0.15048
}

Semantic roles & 50–950 ramp

primary
#217D16
secondary
#A53DB2
accent
#3BEDDA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #217D16

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

Preview Lab → · Contrast checker → · Palette generator →

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