#197917#197917

#197917 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.157 H 142.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#197917
RGBrgb(25, 121, 23)
HSLhsl(119, 68%, 28%)
HSVhsv(119, 81%, 47%)
CMYKcmyk(79.3%, 0%, 81%, 52.5%)
CIE-LABlab(44.15, -45.84, 42.56)
CIE-LCHlch(44.15, 62.55, 137.13°)
OKLaboklab(50.36% -0.1245 0.0952)
OKLCHoklch(50.36% 0.157 142.6)
XYZxyz(7.3925, 13.9424, 3.1120)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197917 #771779
analogous
#4A7917 #197917 #177946
triadic
#197917 #171979 #791719
tetradic
#197917 #174A79 #771779 #794617
square
#197917 #174A79 #771779 #794617
split-complementary
#197917 #461779 #79174A
monochromatic
#051A05 #0E460D #197917 #24AC21 #36D832

Accessibility & contrast

On white

5.54
#197917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#197917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197917
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197917#FFFFFF#000000##FFFFFF
##1979171.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#716622
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #197917;
/* rgb */ color: rgb(25, 121, 23);
/* oklch */ color: oklch(50.4% 0.157 142.6);
Tailwind
colors: {
  custom: {
    50: '#68a15d',
    500: '#197917',
    950: '#000000',
  },
}
SCSS
$custom: #197917;
$custom-light: #68a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#197917",
  "rgb": {
    "r": 25,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 118.776,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50355,
    "c": 0.15674,
    "h": 142.6
  },
  "luminance": 0.13943
}

Semantic roles & 50–950 ramp

primary
#197917
secondary
#AC3EAE
accent
#3DEBE7
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #197917

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

Preview Lab → · Contrast checker → · Palette generator →

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