#217C15#217C15

#217C15 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.4% C 0.159 H 141.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#217C15
RGBrgb(33, 124, 21)
HSLhsl(113, 71%, 28%)
HSVhsv(113, 83%, 49%)
CMYKcmyk(73.4%, 0%, 83.1%, 51.4%)
CIE-LABlab(45.35, -45.58, 44.41)
CIE-LCHlch(45.35, 63.64, 135.75°)
OKLaboklab(51.39% -0.1244 0.0987)
OKLCHoklch(51.39% 0.159 141.6)
XYZxyz(7.9698, 14.7919, 3.1444)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C15 #70157C
analogous
#547C15 #217C15 #157C3C
triadic
#217C15 #15217C #7C1521
tetradic
#217C15 #15547C #70157C #7C3C15
square
#217C15 #15547C #70157C #7C3C15
split-complementary
#217C15 #3C157C #7C1554
monochromatic
#071A04 #13480C #217C15 #2FB01E #44DC30

Accessibility & contrast

On white

5.30
#217C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#217C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217C15
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C15#FFFFFF#000000##FFFFFF
##217C151.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#087869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217c15;
/* rgb */ color: rgb(33, 124, 21);
/* oklch */ color: oklch(51.4% 0.159 141.6);
Tailwind
colors: {
  custom: {
    50: '#6ca35c',
    500: '#217c15',
    950: '#000000',
  },
}
SCSS
$custom: #217c15;
$custom-light: #6ca35c;
$custom-dark: #000000;
JSON
{
  "hex": "#217c15",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 113.01,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51394,
    "c": 0.15877,
    "h": 141.6
  },
  "luminance": 0.14793
}

Semantic roles & 50–950 ramp

primary
#217C15
secondary
#A43CB1
accent
#3AEED9
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #217C15

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

Preview Lab → · Contrast checker → · Palette generator →

#217C15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva