#217417#217417

#217417 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.148 H 141.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#217417
RGBrgb(33, 116, 23)
HSLhsl(114, 67%, 27%)
HSVhsv(114, 80%, 45%)
CMYKcmyk(71.6%, 0%, 80.2%, 54.5%)
CIE-LABlab(42.57, -42.63, 41.09)
CIE-LCHlch(42.57, 59.21, 136.05°)
OKLaboklab(49.1% -0.1163 0.0921)
OKLCHoklch(49.1% 0.148 141.6)
XYZxyz(7.0269, 12.8752, 2.9253)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217417 #6A1774
analogous
#507417 #217417 #17743B
triadic
#217417 #172174 #741721
tetradic
#217417 #175074 #6A1774 #743B17
square
#217417 #175074 #6A1774 #743B17
split-complementary
#217417 #3B1774 #741750
monochromatic
#071A05 #12410D #217417 #30A721 #41D630

Accessibility & contrast

On white

5.87
#217417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#217417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217417
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217417#FFFFFF#000000##FFFFFF
##2174171.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776902
Deuteranopia (green-blind)
#6D6222
Tritanopia (blue-blind)
#0D7062
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #217417;
/* rgb */ color: rgb(33, 116, 23);
/* oklch */ color: oklch(49.1% 0.148 141.6);
Tailwind
colors: {
  custom: {
    50: '#6a9d5c',
    500: '#217417',
    950: '#000000',
  },
}
SCSS
$custom: #217417;
$custom-light: #6a9d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#217417",
  "rgb": {
    "r": 33,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 113.548,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49096,
    "c": 0.14831,
    "h": 141.6
  },
  "luminance": 0.12876
}

Semantic roles & 50–950 ramp

primary
#217417
secondary
#9E3DA9
accent
#3EEAD7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #217417

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

Preview Lab → · Contrast checker → · Palette generator →

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