#217311#217311

#217311 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.150 H 141.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#217311
RGBrgb(33, 115, 17)
HSLhsl(110, 74%, 26%)
HSVhsv(110, 85%, 45%)
CMYKcmyk(71.3%, 0%, 85.2%, 54.9%)
CIE-LABlab(42.19, -42.66, 42.70)
CIE-LCHlch(42.19, 60.36, 134.98°)
OKLaboklab(48.77% -0.1167 0.0945)
OKLCHoklch(48.77% 0.15 141)
XYZxyz(6.8588, 12.6245, 2.6055)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217311 #631173
analogous
#527311 #217311 #117332
triadic
#217311 #112173 #731121
tetradic
#217311 #115273 #631173 #733211
square
#217311 #115273 #631173 #733211
split-complementary
#217311 #321173 #731152
monochromatic
#081B04 #123E09 #217311 #30A819 #40DE21

Accessibility & contrast

On white

5.96
#217311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#217311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217311
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217311#FFFFFF#000000##FFFFFF
##2173111.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6D611D
Tritanopia (blue-blind)
#0F6F61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #217311;
/* rgb */ color: rgb(33, 115, 17);
/* oklch */ color: oklch(48.8% 0.150 141.0);
Tailwind
colors: {
  custom: {
    50: '#6a9c59',
    500: '#217311',
    950: '#000000',
  },
}
SCSS
$custom: #217311;
$custom-light: #6a9c59;
$custom-dark: #000000;
JSON
{
  "hex": "#217311",
  "rgb": {
    "r": 33,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 110.204,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48768,
    "c": 0.15016,
    "h": 141
  },
  "luminance": 0.12625
}

Semantic roles & 50–950 ramp

primary
#217311
secondary
#9736AA
accent
#37F1D3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #217311

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

Preview Lab → · Contrast checker → · Palette generator →

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