#217F15#217F15

#217F15 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.162 H 141.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#217F15
RGBrgb(33, 127, 21)
HSLhsl(113, 72%, 29%)
HSVhsv(113, 83%, 50%)
CMYKcmyk(74%, 0%, 83.5%, 50.2%)
CIE-LABlab(46.39, -46.62, 45.38)
CIE-LCHlch(46.39, 65.06, 135.77°)
OKLaboklab(52.26% -0.1272 0.1007)
OKLCHoklch(52.26% 0.162 141.6)
XYZxyz(8.3515, 15.5553, 3.2717)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F15 #73157F
analogous
#567F15 #217F15 #157F3E
triadic
#217F15 #15217F #7F1521
tetradic
#217F15 #15567F #73157F #7F3E15
square
#217F15 #15567F #73157F #7F3E15
split-complementary
#217F15 #3E157F #7F1556
monochromatic
#071A04 #134A0C #217F15 #2FB41E #45DD31

Accessibility & contrast

On white

5.11
#217F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#217F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F15
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F15#FFFFFF#000000##FFFFFF
##217F151.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786B22
Tritanopia (blue-blind)
#057B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217f15;
/* rgb */ color: rgb(33, 127, 21);
/* oklch */ color: oklch(52.3% 0.162 141.6);
Tailwind
colors: {
  custom: {
    50: '#6da55d',
    500: '#217f15',
    950: '#000000',
  },
}
SCSS
$custom: #217f15;
$custom-light: #6da55d;
$custom-dark: #000000;
JSON
{
  "hex": "#217f15",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 113.208,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52256,
    "c": 0.16222,
    "h": 141.6
  },
  "luminance": 0.15556
}

Semantic roles & 50–950 ramp

primary
#217F15
secondary
#A63CB4
accent
#39EEDA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #217F15

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

Preview Lab → · Contrast checker → · Palette generator →

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