#217515#217515

#217515 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.151 H 141.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#217515
RGBrgb(33, 117, 21)
HSLhsl(113, 70%, 27%)
HSVhsv(113, 82%, 46%)
CMYKcmyk(71.8%, 0%, 82.1%, 54.1%)
CIE-LABlab(42.91, -43.12, 42.11)
CIE-LCHlch(42.91, 60.27, 135.69°)
OKLaboklab(49.37% -0.1177 0.0939)
OKLCHoklch(49.37% 0.151 141.4)
XYZxyz(7.1235, 13.0993, 2.8623)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217515 #691575
analogous
#517515 #217515 #157539
triadic
#217515 #152175 #751521
tetradic
#217515 #155175 #691575 #753915
square
#217515 #155175 #691575 #753915
split-complementary
#217515 #391575 #751551
monochromatic
#071A05 #12410C #217515 #30A91E #41D92B

Accessibility & contrast

On white

5.80
#217515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#217515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217515
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217515#FFFFFF#000000##FFFFFF
##2175151.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6E6320
Tritanopia (blue-blind)
#0D7163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #217515;
/* rgb */ color: rgb(33, 117, 21);
/* oklch */ color: oklch(49.4% 0.151 141.4);
Tailwind
colors: {
  custom: {
    50: '#6a9e5b',
    500: '#217515',
    950: '#000000',
  },
}
SCSS
$custom: #217515;
$custom-light: #6a9e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#217515",
  "rgb": {
    "r": 33,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 112.5,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49372,
    "c": 0.15058,
    "h": 141.4
  },
  "luminance": 0.131
}

Semantic roles & 50–950 ramp

primary
#217515
secondary
#9D3BAB
accent
#3BECD6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #217515

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

Preview Lab → · Contrast checker → · Palette generator →

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