#217819#217819

#217819 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.152 H 141.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#217819
RGBrgb(33, 120, 25)
HSLhsl(115, 66%, 28%)
HSVhsv(115, 79%, 47%)
CMYKcmyk(72.5%, 0%, 79.2%, 52.9%)
CIE-LABlab(43.98, -43.91, 41.75)
CIE-LCHlch(43.98, 60.59, 136.44°)
OKLaboklab(50.27% -0.1196 0.0937)
OKLCHoklch(50.27% 0.152 141.9)
XYZxyz(7.5187, 13.8257, 3.1919)
Luminance0.1383 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217819 #701978
analogous
#507819 #217819 #197840
triadic
#217819 #192178 #781921
tetradic
#217819 #195078 #701978 #784019
square
#217819 #195078 #701978 #784019
split-complementary
#217819 #401978 #781950
monochromatic
#071905 #13450E #217819 #2FAB24 #44D536

Accessibility & contrast

On white

5.58
#217819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#217819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217819
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217819#FFFFFF#000000##FFFFFF
##2178191.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C04
Deuteranopia (green-blind)
#716524
Tritanopia (blue-blind)
#0A7466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #217819;
/* rgb */ color: rgb(33, 120, 25);
/* oklch */ color: oklch(50.3% 0.152 141.9);
Tailwind
colors: {
  custom: {
    50: '#6ba05d',
    500: '#217819',
    950: '#000000',
  },
}
SCSS
$custom: #217819;
$custom-light: #6ba05d;
$custom-dark: #000000;
JSON
{
  "hex": "#217819",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 25
  },
  "hsl": {
    "h": 114.947,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50267,
    "c": 0.15197,
    "h": 141.9
  },
  "luminance": 0.13826
}

Semantic roles & 50–950 ramp

primary
#217819
secondary
#A440AD
accent
#3FE8DA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080F05
muted
#7A7E79

Preview Lab

Preview with #217819

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

Preview Lab → · Contrast checker → · Palette generator →

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