#217919#217919

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

Color values

HEX#217919
RGBrgb(33, 121, 25)
HSLhsl(115, 66%, 29%)
HSVhsv(115, 79%, 47%)
CMYKcmyk(72.7%, 0%, 79.3%, 52.5%)
CIE-LABlab(44.33, -44.26, 42.09)
CIE-LCHlch(44.33, 61.08, 136.44°)
OKLaboklab(50.56% -0.1206 0.0945)
OKLCHoklch(50.56% 0.153 141.9)
XYZxyz(7.6396, 14.0674, 3.2322)
Luminance0.1407 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217919 #711979
analogous
#517919 #217919 #197941
triadic
#217919 #192179 #791921
tetradic
#217919 #195179 #711979 #794119
square
#217919 #195179 #711979 #794119
split-complementary
#217919 #411979 #791951
monochromatic
#071905 #13460F #217919 #2FAC23 #44D637

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217919#FFFFFF#000000##FFFFFF
##2179191.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)
#7C6D03
Deuteranopia (green-blind)
#726624
Tritanopia (blue-blind)
#097567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #217919;
/* rgb */ color: rgb(33, 121, 25);
/* oklch */ color: oklch(50.6% 0.153 141.9);
Tailwind
colors: {
  custom: {
    50: '#6ba15d',
    500: '#217919',
    950: '#000000',
  },
}
SCSS
$custom: #217919;
$custom-light: #6ba15d;
$custom-dark: #000000;
JSON
{
  "hex": "#217919",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 115,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50556,
    "c": 0.15317,
    "h": 141.9
  },
  "luminance": 0.14068
}

Semantic roles & 50–950 ramp

primary
#217919
secondary
#A540AE
accent
#3FE9DB
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #217919

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

Preview Lab → · Contrast checker → · Palette generator →

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