#217A18#217A18

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

Color values

HEX#217A18
RGBrgb(33, 122, 24)
HSLhsl(114, 67%, 29%)
HSVhsv(114, 80%, 48%)
CMYKcmyk(73%, 0%, 80.3%, 52.2%)
CIE-LABlab(44.67, -44.68, 42.77)
CIE-LCHlch(44.67, 61.86, 136.25°)
OKLaboklab(50.84% -0.1218 0.0957)
OKLCHoklch(50.84% 0.155 141.8)
XYZxyz(7.7512, 14.3075, 3.2171)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A18 #71187A
analogous
#527A18 #217A18 #187A40
triadic
#217A18 #18217A #7A1821
tetradic
#217A18 #18527A #71187A #7A4018
square
#217A18 #18527A #71187A #7A4018
split-complementary
#217A18 #40187A #7A1852
monochromatic
#071A05 #13470E #217A18 #2FAD22 #44D735

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217A18#FFFFFF#000000##FFFFFF
##217A181.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)
#7D6E01
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#087668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217a18;
/* rgb */ color: rgb(33, 122, 24);
/* oklch */ color: oklch(50.8% 0.155 141.8);
Tailwind
colors: {
  custom: {
    50: '#6ba15d',
    500: '#217a18',
    950: '#000000',
  },
}
SCSS
$custom: #217a18;
$custom-light: #6ba15d;
$custom-dark: #000000;
JSON
{
  "hex": "#217a18",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 114.49,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50837,
    "c": 0.1549,
    "h": 141.8
  },
  "luminance": 0.14308
}

Semantic roles & 50–950 ramp

primary
#217A18
secondary
#A53FAF
accent
#3EEADA
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #217A18

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

Preview Lab → · Contrast checker → · Palette generator →

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