#217315#217315

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

Color values

HEX#217315
RGBrgb(33, 115, 21)
HSLhsl(112, 69%, 27%)
HSVhsv(112, 82%, 45%)
CMYKcmyk(71.3%, 0%, 81.7%, 54.9%)
CIE-LABlab(42.21, -42.41, 41.44)
CIE-LCHlch(42.21, 59.29, 135.66°)
OKLaboklab(48.79% -0.1158 0.0925)
OKLCHoklch(48.79% 0.148 141.4)
XYZxyz(6.8929, 12.6382, 2.7855)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217315 #671573
analogous
#507315 #217315 #157338
triadic
#217315 #152173 #731521
tetradic
#217315 #155073 #671573 #733815
square
#217315 #155073 #671573 #733815
split-complementary
#217315 #381573 #731550
monochromatic
#071A05 #123F0C #217315 #30A71E #40D82A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217315#FFFFFF#000000##FFFFFF
##2173151.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)
#766800
Deuteranopia (green-blind)
#6C6120
Tritanopia (blue-blind)
#0F6F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #217315;
/* rgb */ color: rgb(33, 115, 21);
/* oklch */ color: oklch(48.8% 0.148 141.4);
Tailwind
colors: {
  custom: {
    50: '#6a9c5b',
    500: '#217315',
    950: '#000000',
  },
}
SCSS
$custom: #217315;
$custom-light: #6a9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#217315",
  "rgb": {
    "r": 33,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 112.34,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48792,
    "c": 0.14819,
    "h": 141.4
  },
  "luminance": 0.12639
}

Semantic roles & 50–950 ramp

primary
#217315
secondary
#9B3BA9
accent
#3CECD5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #217315

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

Preview Lab → · Contrast checker → · Palette generator →

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