#197D17#197D17

#197D17 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.161 H 142.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#197D17
RGBrgb(25, 125, 23)
HSLhsl(119, 69%, 29%)
HSVhsv(119, 82%, 49%)
CMYKcmyk(80%, 0%, 81.6%, 51%)
CIE-LABlab(45.54, -47.18, 43.90)
CIE-LCHlch(45.54, 64.44, 137.06°)
OKLaboklab(51.52% -0.1281 0.098)
OKLCHoklch(51.52% 0.161 142.6)
XYZxyz(7.8887, 14.9348, 3.2774)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197D17 #7B177D
analogous
#4C7D17 #197D17 #177D48
triadic
#197D17 #17197D #7D1719
tetradic
#197D17 #174C7D #7B177D #7D4817
square
#197D17 #174C7D #7B177D #7D4817
split-complementary
#197D17 #48177D #7D174C
monochromatic
#051A05 #0F490D #197D17 #23B121 #38DA35

Accessibility & contrast

On white

5.27
#197D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#197D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197D17
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197D17#FFFFFF#000000##FFFFFF
##197D171.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #197d17;
/* rgb */ color: rgb(25, 125, 23);
/* oklch */ color: oklch(51.5% 0.161 142.6);
Tailwind
colors: {
  custom: {
    50: '#69a45d',
    500: '#197d17',
    950: '#000000',
  },
}
SCSS
$custom: #197d17;
$custom-light: #69a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#197d17",
  "rgb": {
    "r": 25,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 118.824,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51515,
    "c": 0.16132,
    "h": 142.6
  },
  "luminance": 0.14936
}

Semantic roles & 50–950 ramp

primary
#197D17
secondary
#AF3EB2
accent
#3CECE8
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #197D17

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

Preview Lab → · Contrast checker → · Palette generator →

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