#217017#217017

#217017 is a mid, vivid green. Relative luminance 0.120; OKLCH L 47.9% C 0.143 H 141.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#217017
RGBrgb(33, 112, 23)
HSLhsl(113, 66%, 26%)
HSVhsv(113, 79%, 44%)
CMYKcmyk(70.5%, 0%, 79.5%, 56.1%)
CIE-LABlab(41.17, -41.18, 39.72)
CIE-LCHlch(41.17, 57.21, 136.03°)
OKLaboklab(47.93% -0.1123 0.0892)
OKLCHoklch(47.93% 0.143 141.5)
XYZxyz(6.5757, 11.9729, 2.7749)
Luminance0.1197 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217017 #661770
analogous
#4E7017 #217017 #17703A
triadic
#217017 #172170 #701721
tetradic
#217017 #174E70 #661770 #703A17
square
#217017 #174E70 #661770 #703A17
split-complementary
#217017 #3A1770 #70174E
monochromatic
#071905 #123D0D #217017 #30A321 #40D42D

Accessibility & contrast

On white

6.19
#217017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#217017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217017
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217017#FFFFFF#000000##FFFFFF
##2170171.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736504
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#106C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #217017;
/* rgb */ color: rgb(33, 112, 23);
/* oklch */ color: oklch(47.9% 0.143 141.5);
Tailwind
colors: {
  custom: {
    50: '#699a5b',
    500: '#217017',
    950: '#000000',
  },
}
SCSS
$custom: #217017;
$custom-light: #699a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#217017",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 113.258,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47933,
    "c": 0.14346,
    "h": 141.5
  },
  "luminance": 0.11974
}

Semantic roles & 50–950 ramp

primary
#217017
secondary
#9A3DA6
accent
#3FE9D6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #217017

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

Preview Lab → · Contrast checker → · Palette generator →

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