#217A19#217A19

#217A19 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.8% C 0.154 H 141.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#217A19
RGBrgb(33, 122, 25)
HSLhsl(115, 66%, 29%)
HSVhsv(115, 80%, 48%)
CMYKcmyk(73%, 0%, 79.5%, 52.2%)
CIE-LABlab(44.68, -44.61, 42.43)
CIE-LCHlch(44.68, 61.57, 136.44°)
OKLaboklab(50.84% -0.1215 0.0952)
OKLCHoklch(50.84% 0.154 141.9)
XYZxyz(7.7618, 14.3117, 3.2729)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A19 #72197A
analogous
#527A19 #217A19 #197A42
triadic
#217A19 #19217A #7A1921
tetradic
#217A19 #19527A #72197A #7A4219
square
#217A19 #19527A #72197A #7A4219
split-complementary
#217A19 #42197A #7A1952
monochromatic
#071905 #13470F #217A19 #2FAD23 #44D637

Accessibility & contrast

On white

5.44
#217A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#217A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A19
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A19#FFFFFF#000000##FFFFFF
##217A191.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E03
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#087668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217a19;
/* rgb */ color: rgb(33, 122, 25);
/* oklch */ color: oklch(50.8% 0.154 141.9);
Tailwind
colors: {
  custom: {
    50: '#6ba15e',
    500: '#217a19',
    950: '#000000',
  },
}
SCSS
$custom: #217a19;
$custom-light: #6ba15e;
$custom-dark: #000000;
JSON
{
  "hex": "#217a19",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 115.052,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50844,
    "c": 0.15436,
    "h": 141.9
  },
  "luminance": 0.14313
}

Semantic roles & 50–950 ramp

primary
#217A19
secondary
#A540AF
accent
#3FE9DB
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #217A19

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

Preview Lab → · Contrast checker → · Palette generator →

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