#217117#217117

#217117 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.2% C 0.145 H 141.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#217117
RGBrgb(33, 113, 23)
HSLhsl(113, 66%, 27%)
HSVhsv(113, 80%, 44%)
CMYKcmyk(70.8%, 0%, 79.6%, 55.7%)
CIE-LABlab(41.52, -41.54, 40.06)
CIE-LCHlch(41.52, 57.71, 136.04°)
OKLaboklab(48.23% -0.1133 0.0899)
OKLCHoklch(48.23% 0.145 141.6)
XYZxyz(6.6866, 12.1947, 2.8119)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217117 #671771
analogous
#4E7117 #217117 #17713A
triadic
#217117 #172171 #711721
tetradic
#217117 #174E71 #671771 #713A17
square
#217117 #174E71 #671771 #713A17
split-complementary
#217117 #3A1771 #71174E
monochromatic
#071905 #123E0D #217117 #30A421 #40D42E

Accessibility & contrast

On white

6.11
#217117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#217117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217117
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217117#FFFFFF#000000##FFFFFF
##2171171.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746603
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#0F6D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #217117;
/* rgb */ color: rgb(33, 113, 23);
/* oklch */ color: oklch(48.2% 0.145 141.6);
Tailwind
colors: {
  custom: {
    50: '#699b5b',
    500: '#217117',
    950: '#000000',
  },
}
SCSS
$custom: #217117;
$custom-light: #699b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#217117",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 113.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48225,
    "c": 0.14468,
    "h": 141.6
  },
  "luminance": 0.12195
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #217117

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

Preview Lab → · Contrast checker → · Palette generator →

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