#217318#217318

#217318 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.8% C 0.147 H 141.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#217318
RGBrgb(33, 115, 24)
HSLhsl(114, 65%, 27%)
HSVhsv(114, 79%, 45%)
CMYKcmyk(71.3%, 0%, 79.1%, 54.9%)
CIE-LABlab(42.23, -42.19, 40.39)
CIE-LCHlch(42.23, 58.41, 136.25°)
OKLaboklab(48.81% -0.115 0.0908)
OKLCHoklch(48.81% 0.147 141.7)
XYZxyz(6.9224, 12.6500, 2.9409)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217318 #6A1873
analogous
#4F7318 #217318 #18733D
triadic
#217318 #182173 #731821
tetradic
#217318 #184F73 #6A1873 #733D18
square
#217318 #184F73 #6A1873 #733D18
split-complementary
#217318 #3D1873 #73184F
monochromatic
#071905 #12400D #217318 #30A623 #41D431

Accessibility & contrast

On white

5.95
#217318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#217318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217318
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217318#FFFFFF#000000##FFFFFF
##2173181.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766804
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#0E6F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #217318;
/* rgb */ color: rgb(33, 115, 24);
/* oklch */ color: oklch(48.8% 0.147 141.7);
Tailwind
colors: {
  custom: {
    50: '#6a9c5c',
    500: '#217318',
    950: '#000000',
  },
}
SCSS
$custom: #217318;
$custom-light: #6a9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#217318",
  "rgb": {
    "r": 33,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 114.066,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48813,
    "c": 0.14653,
    "h": 141.7
  },
  "luminance": 0.12651
}

Semantic roles & 50–950 ramp

primary
#217318
secondary
#9E3FA8
accent
#3FE8D8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #217318

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

Preview Lab → · Contrast checker → · Palette generator →

#217318 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva