#197918#197918

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

Color values

HEX#197918
RGBrgb(25, 121, 24)
HSLhsl(119, 67%, 28%)
HSVhsv(119, 80%, 47%)
CMYKcmyk(79.3%, 0%, 80.2%, 52.5%)
CIE-LABlab(44.16, -45.77, 42.22)
CIE-LCHlch(44.16, 62.26, 137.31°)
OKLaboklab(50.36% -0.1243 0.0946)
OKLCHoklch(50.36% 0.156 142.7)
XYZxyz(7.4027, 13.9465, 3.1658)
Luminance0.1395 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197918 #781879
analogous
#497918 #197918 #187947
triadic
#197918 #181979 #791819
tetradic
#197918 #184979 #781879 #794718
square
#197918 #184979 #781879 #794718
split-complementary
#197918 #471879 #791849
monochromatic
#051A05 #0E460E #197918 #24AC22 #36D735

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##197918#FFFFFF#000000##FFFFFF
##1979181.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)
#7C6D01
Deuteranopia (green-blind)
#716623
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #197918;
/* rgb */ color: rgb(25, 121, 24);
/* oklch */ color: oklch(50.4% 0.156 142.7);
Tailwind
colors: {
  custom: {
    50: '#68a15d',
    500: '#197918',
    950: '#000000',
  },
}
SCSS
$custom: #197918;
$custom-light: #68a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#197918",
  "rgb": {
    "r": 25,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 119.381,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50362,
    "c": 0.1562,
    "h": 142.7
  },
  "luminance": 0.13947
}

Semantic roles & 50–950 ramp

primary
#197918
secondary
#AD3FAE
accent
#3EEAE8
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #197918

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

Preview Lab → · Contrast checker → · Palette generator →

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