#197A40#197A40

#197A40 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.125 H 151.7°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#197A40
RGBrgb(25, 122, 64)
HSLhsl(144, 66%, 29%)
HSVhsv(144, 80%, 48%)
CMYKcmyk(79.5%, 0%, 47.5%, 52.2%)
CIE-LABlab(44.93, -40.95, 24.14)
CIE-LCHlch(44.93, 47.54, 149.48°)
OKLaboklab(51.15% -0.1101 0.0593)
OKLCHoklch(51.15% 0.125 151.7)
XYZxyz(8.2851, 14.4949, 7.2106)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197A40 #7A1953
analogous
#237A19 #197A40 #197A71
triadic
#197A40 #40197A #7A4019
tetradic
#197A40 #19237A #7A1953 #7A7119
square
#197A40 #19237A #7A1953 #7A7119
split-complementary
#197A40 #71197A #7A1923
monochromatic
#05190D #0F4725 #197A40 #23AD5B #37D677

Accessibility & contrast

On white

5.39
#197A40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#197A40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197A40
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197A40#FFFFFF#000000##FFFFFF
##197A401.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3C
Deuteranopia (green-blind)
#6F6744
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #197a40;
/* rgb */ color: rgb(25, 122, 64);
/* oklch */ color: oklch(51.1% 0.125 151.7);
Tailwind
colors: {
  custom: {
    50: '#67a176',
    500: '#197a40',
    950: '#000000',
  },
}
SCSS
$custom: #197a40;
$custom-light: #67a176;
$custom-dark: #000000;
JSON
{
  "hex": "#197a40",
  "rgb": {
    "r": 25,
    "g": 122,
    "b": 64
  },
  "hsl": {
    "h": 144.124,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51147,
    "c": 0.12503,
    "h": 151.7
  },
  "luminance": 0.14496
}

Semantic roles & 50–950 ramp

primary
#197A40
secondary
#AF4082
accent
#3FA5E9
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #197A40

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

Preview Lab → · Contrast checker → · Palette generator →

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