#197F17#197F17

#197F17 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.164 H 142.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#197F17
RGBrgb(25, 127, 23)
HSLhsl(119, 69%, 29%)
HSVhsv(119, 82%, 50%)
CMYKcmyk(80.3%, 0%, 81.9%, 50.2%)
CIE-LABlab(46.24, -47.84, 44.56)
CIE-LCHlch(46.24, 65.38, 137.03°)
OKLaboklab(52.09% -0.1299 0.0994)
OKLCHoklch(52.09% 0.164 142.6)
XYZxyz(8.1444, 15.4463, 3.3626)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197F17 #7D177F
analogous
#4D7F17 #197F17 #177F49
triadic
#197F17 #17197F #7F1719
tetradic
#197F17 #174D7F #7D177F #7F4917
square
#197F17 #174D7F #7D177F #7F4917
split-complementary
#197F17 #49177F #7F174D
monochromatic
#051A05 #0F4B0E #197F17 #23B320 #39DB36

Accessibility & contrast

On white

5.14
#197F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#197F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197F17
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197F17#FFFFFF#000000##FFFFFF
##197F171.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #197f17;
/* rgb */ color: rgb(25, 127, 23);
/* oklch */ color: oklch(52.1% 0.164 142.6);
Tailwind
colors: {
  custom: {
    50: '#6aa55d',
    500: '#197f17',
    950: '#000000',
  },
}
SCSS
$custom: #197f17;
$custom-light: #6aa55d;
$custom-dark: #000000;
JSON
{
  "hex": "#197f17",
  "rgb": {
    "r": 25,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 118.846,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52092,
    "c": 0.16358,
    "h": 142.6
  },
  "luminance": 0.15447
}

Semantic roles & 50–950 ramp

primary
#197F17
secondary
#B13EB4
accent
#3CECE9
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #197F17

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

Preview Lab → · Contrast checker → · Palette generator →

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