#217915#217915

#217915 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.5% C 0.155 H 141.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#217915
RGBrgb(33, 121, 21)
HSLhsl(113, 70%, 28%)
HSVhsv(113, 83%, 47%)
CMYKcmyk(72.7%, 0%, 82.6%, 52.5%)
CIE-LABlab(44.31, -44.54, 43.43)
CIE-LCHlch(44.31, 62.21, 135.72°)
OKLaboklab(50.53% -0.1215 0.0967)
OKLCHoklch(50.53% 0.155 141.5)
XYZxyz(7.5995, 14.0514, 3.0210)
Luminance0.1405 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217915 #6D1579
analogous
#537915 #217915 #15793B
triadic
#217915 #152179 #791521
tetradic
#217915 #155379 #6D1579 #793B15
square
#217915 #155379 #6D1579 #793B15
split-complementary
#217915 #3B1579 #791553
monochromatic
#071A05 #13450C #217915 #2FAD1E #42DB2E

Accessibility & contrast

On white

5.51
#217915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#217915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217915
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217915#FFFFFF#000000##FFFFFF
##2179151.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#0A7567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #217915;
/* rgb */ color: rgb(33, 121, 21);
/* oklch */ color: oklch(50.5% 0.155 141.5);
Tailwind
colors: {
  custom: {
    50: '#6ba15c',
    500: '#217915',
    950: '#000000',
  },
}
SCSS
$custom: #217915;
$custom-light: #6ba15c;
$custom-dark: #000000;
JSON
{
  "hex": "#217915",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 112.8,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50529,
    "c": 0.15529,
    "h": 141.5
  },
  "luminance": 0.14052
}

Semantic roles & 50–950 ramp

primary
#217915
secondary
#A13BAF
accent
#3BEDD8
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #217915

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

Preview Lab → · Contrast checker → · Palette generator →

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