#217F16#217F16

#217F16 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.162 H 141.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#217F16
RGBrgb(33, 127, 22)
HSLhsl(114, 70%, 29%)
HSVhsv(114, 83%, 50%)
CMYKcmyk(74%, 0%, 82.7%, 50.2%)
CIE-LABlab(46.39, -46.56, 45.08)
CIE-LCHlch(46.39, 64.80, 135.92°)
OKLaboklab(52.26% -0.1269 0.1003)
OKLCHoklch(52.26% 0.162 141.7)
XYZxyz(8.3609, 15.5591, 3.3215)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F16 #74167F
analogous
#567F16 #217F16 #167F40
triadic
#217F16 #16217F #7F1621
tetradic
#217F16 #16567F #74167F #7F4016
square
#217F16 #16567F #74167F #7F4016
split-complementary
#217F16 #40167F #7F1656
monochromatic
#071A05 #134B0D #217F16 #2FB31F #45DC34

Accessibility & contrast

On white

5.11
#217F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#217F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F16
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F16#FFFFFF#000000##FFFFFF
##217F161.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786B23
Tritanopia (blue-blind)
#057B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217f16;
/* rgb */ color: rgb(33, 127, 22);
/* oklch */ color: oklch(52.3% 0.162 141.7);
Tailwind
colors: {
  custom: {
    50: '#6da55d',
    500: '#217f16',
    950: '#000000',
  },
}
SCSS
$custom: #217f16;
$custom-light: #6da55d;
$custom-dark: #000000;
JSON
{
  "hex": "#217f16",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 113.714,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52261,
    "c": 0.16174,
    "h": 141.7
  },
  "luminance": 0.1556
}

Semantic roles & 50–950 ramp

primary
#217F16
secondary
#A73DB4
accent
#3BEDDB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #217F16

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

Preview Lab → · Contrast checker → · Palette generator →

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