#217C18#217C18

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

Color values

HEX#217C18
RGBrgb(33, 124, 24)
HSLhsl(115, 68%, 29%)
HSVhsv(115, 81%, 49%)
CMYKcmyk(73.4%, 0%, 80.6%, 51.4%)
CIE-LABlab(45.36, -45.38, 43.45)
CIE-LCHlch(45.36, 62.83, 136.25°)
OKLaboklab(51.41% -0.1237 0.0971)
OKLCHoklch(51.41% 0.157 141.9)
XYZxyz(7.9993, 14.8037, 3.2998)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C18 #73187C
analogous
#537C18 #217C18 #187C41
triadic
#217C18 #18217C #7C1821
tetradic
#217C18 #18537C #73187C #7C4118
square
#217C18 #18537C #73187C #7C4118
split-complementary
#217C18 #41187C #7C1853
monochromatic
#071A05 #13490E #217C18 #2FAF22 #45D836

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217C18#FFFFFF#000000##FFFFFF
##217C181.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)
#756924
Tritanopia (blue-blind)
#077869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217c18;
/* rgb */ color: rgb(33, 124, 24);
/* oklch */ color: oklch(51.4% 0.157 141.9);
Tailwind
colors: {
  custom: {
    50: '#6ca35d',
    500: '#217c18',
    950: '#000000',
  },
}
SCSS
$custom: #217c18;
$custom-light: #6ca35d;
$custom-dark: #000000;
JSON
{
  "hex": "#217c18",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 114.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51413,
    "c": 0.15725,
    "h": 141.9
  },
  "luminance": 0.14805
}

Semantic roles & 50–950 ramp

primary
#217C18
secondary
#A63FB1
accent
#3DEADB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #217C18

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

Preview Lab → · Contrast checker → · Palette generator →

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