#197A17#197A17

#197A17 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.6% C 0.158 H 142.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#197A17
RGBrgb(25, 122, 23)
HSLhsl(119, 68%, 28%)
HSVhsv(119, 81%, 48%)
CMYKcmyk(79.5%, 0%, 81.1%, 52.2%)
CIE-LABlab(44.50, -46.18, 42.90)
CIE-LCHlch(44.50, 63.03, 137.11°)
OKLaboklab(50.65% -0.1254 0.0959)
OKLCHoklch(50.65% 0.158 142.6)
XYZxyz(7.5146, 14.1867, 3.1527)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197A17 #78177A
analogous
#4A7A17 #197A17 #177A46
triadic
#197A17 #17197A #7A1719
tetradic
#197A17 #174A7A #78177A #7A4617
square
#197A17 #174A7A #78177A #7A4617
split-complementary
#197A17 #46177A #7A174A
monochromatic
#051A05 #0E470D #197A17 #24AD21 #36D933

Accessibility & contrast

On white

5.47
#197A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#197A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197A17
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197A17#FFFFFF#000000##FFFFFF
##197A171.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #197a17;
/* rgb */ color: rgb(25, 122, 23);
/* oklch */ color: oklch(50.6% 0.158 142.6);
Tailwind
colors: {
  custom: {
    50: '#69a15d',
    500: '#197a17',
    950: '#000000',
  },
}
SCSS
$custom: #197a17;
$custom-light: #69a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#197a17",
  "rgb": {
    "r": 25,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 118.788,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50645,
    "c": 0.15789,
    "h": 142.6
  },
  "luminance": 0.14188
}

Semantic roles & 50–950 ramp

primary
#197A17
secondary
#AD3EAF
accent
#3DEBE8
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #197A17

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

Preview Lab → · Contrast checker → · Palette generator →

#197A17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva