#197B17#197B17

#197B17 is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.159 H 142.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#197B17
RGBrgb(25, 123, 23)
HSLhsl(119, 68%, 29%)
HSVhsv(119, 81%, 48%)
CMYKcmyk(79.7%, 0%, 81.3%, 51.8%)
CIE-LABlab(44.85, -46.51, 43.23)
CIE-LCHlch(44.85, 63.50, 137.09°)
OKLaboklab(50.93% -0.1263 0.0966)
OKLCHoklch(50.93% 0.159 142.6)
XYZxyz(7.6380, 14.4336, 3.1939)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197B17 #79177B
analogous
#4B7B17 #197B17 #177B47
triadic
#197B17 #17197B #7B1719
tetradic
#197B17 #174B7B #79177B #7B4717
square
#197B17 #174B7B #79177B #7B4717
split-complementary
#197B17 #47177B #7B174B
monochromatic
#051A05 #0F470D #197B17 #23AF21 #37D933

Accessibility & contrast

On white

5.40
#197B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#197B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197B17
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197B17#FFFFFF#000000##FFFFFF
##197B171.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #197b17;
/* rgb */ color: rgb(25, 123, 23);
/* oklch */ color: oklch(50.9% 0.159 142.6);
Tailwind
colors: {
  custom: {
    50: '#69a25d',
    500: '#197b17',
    950: '#000000',
  },
}
SCSS
$custom: #197b17;
$custom-light: #69a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#197b17",
  "rgb": {
    "r": 25,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 118.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50935,
    "c": 0.15903,
    "h": 142.6
  },
  "luminance": 0.14434
}

Semantic roles & 50–950 ramp

primary
#197B17
secondary
#AE3EB0
accent
#3CEBE8
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #197B17

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

Preview Lab → · Contrast checker → · Palette generator →

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