#217319#217319

#217319 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.8% C 0.146 H 141.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#217319
RGBrgb(33, 115, 25)
HSLhsl(115, 64%, 27%)
HSVhsv(115, 78%, 45%)
CMYKcmyk(71.3%, 0%, 78.3%, 54.9%)
CIE-LABlab(42.24, -42.11, 40.03)
CIE-LCHlch(42.24, 58.10, 136.46°)
OKLaboklab(48.82% -0.1148 0.0901)
OKLCHoklch(48.82% 0.146 141.9)
XYZxyz(6.9330, 12.6543, 2.9967)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217319 #6B1973
analogous
#4E7319 #217319 #19733E
triadic
#217319 #192173 #731921
tetradic
#217319 #194E73 #6B1973 #733E19
square
#217319 #194E73 #6B1973 #733E19
split-complementary
#217319 #3E1973 #73194E
monochromatic
#071905 #13410E #217319 #2FA524 #42D334

Accessibility & contrast

On white

5.95
#217319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217319
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217319#FFFFFF#000000##FFFFFF
##2173191.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766806
Deuteranopia (green-blind)
#6C6123
Tritanopia (blue-blind)
#0D6F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #217319;
/* rgb */ color: rgb(33, 115, 25);
/* oklch */ color: oklch(48.8% 0.146 141.9);
Tailwind
colors: {
  custom: {
    50: '#6a9c5d',
    500: '#217319',
    950: '#000000',
  },
}
SCSS
$custom: #217319;
$custom-light: #6a9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#217319",
  "rgb": {
    "r": 33,
    "g": 115,
    "b": 25
  },
  "hsl": {
    "h": 114.667,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.4882,
    "c": 0.14594,
    "h": 141.9
  },
  "luminance": 0.12655
}

Semantic roles & 50–950 ramp

primary
#217319
secondary
#9F40A8
accent
#41E7D8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #217319

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

Preview Lab → · Contrast checker → · Palette generator →

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