#217918#217918

#217918 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.5% C 0.154 H 141.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#217918
RGBrgb(33, 121, 24)
HSLhsl(114, 67%, 28%)
HSVhsv(114, 80%, 47%)
CMYKcmyk(72.7%, 0%, 80.2%, 52.5%)
CIE-LABlab(44.32, -44.33, 42.44)
CIE-LCHlch(44.32, 61.37, 136.25°)
OKLaboklab(50.55% -0.1208 0.095)
OKLCHoklch(50.55% 0.154 141.8)
XYZxyz(7.6290, 14.0632, 3.1764)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217918 #701879
analogous
#517918 #217918 #18793F
triadic
#217918 #182179 #791821
tetradic
#217918 #185179 #701879 #793F18
square
#217918 #185179 #701879 #793F18
split-complementary
#217918 #3F1879 #791851
monochromatic
#071A05 #13460E #217918 #2FAC22 #44D735

Accessibility & contrast

On white

5.51
#217918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#217918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217918
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217918#FFFFFF#000000##FFFFFF
##2179181.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#097567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #217918;
/* rgb */ color: rgb(33, 121, 24);
/* oklch */ color: oklch(50.5% 0.154 141.8);
Tailwind
colors: {
  custom: {
    50: '#6ba15d',
    500: '#217918',
    950: '#000000',
  },
}
SCSS
$custom: #217918;
$custom-light: #6ba15d;
$custom-dark: #000000;
JSON
{
  "hex": "#217918",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 114.433,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50549,
    "c": 0.15372,
    "h": 141.8
  },
  "luminance": 0.14064
}

Semantic roles & 50–950 ramp

primary
#217918
secondary
#A43FAE
accent
#3EEADA
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #217918

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

Preview Lab → · Contrast checker → · Palette generator →

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