#197F40#197F40

#197F40 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.132 H 150.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#197F40
RGBrgb(25, 127, 64)
HSLhsl(143, 67%, 30%)
HSVhsv(143, 80%, 50%)
CMYKcmyk(80.3%, 0%, 49.6%, 50.2%)
CIE-LABlab(46.65, -42.87, 26.32)
CIE-LCHlch(46.65, 50.31, 148.45°)
OKLaboklab(52.57% -0.1152 0.0643)
OKLCHoklch(52.57% 0.132 150.8)
XYZxyz(8.9149, 15.7545, 7.4206)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197F40 #7F1958
analogous
#257F19 #197F40 #197F73
triadic
#197F40 #40197F #7F4019
tetradic
#197F40 #19257F #7F1958 #7F7319
square
#197F40 #19257F #7F1958 #7F7319
split-complementary
#197F40 #73197F #7F1925
monochromatic
#051A0D #0F4C26 #197F40 #23B25A #3AD877

Accessibility & contrast

On white

5.06
#197F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#197F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197F40
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197F40#FFFFFF#000000##FFFFFF
##197F401.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743B
Deuteranopia (green-blind)
#746B45
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #197f40;
/* rgb */ color: rgb(25, 127, 64);
/* oklch */ color: oklch(52.6% 0.132 150.8);
Tailwind
colors: {
  custom: {
    50: '#68a576',
    500: '#197f40',
    950: '#000000',
  },
}
SCSS
$custom: #197f40;
$custom-light: #68a576;
$custom-dark: #000000;
JSON
{
  "hex": "#197f40",
  "rgb": {
    "r": 25,
    "g": 127,
    "b": 64
  },
  "hsl": {
    "h": 142.941,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52566,
    "c": 0.13188,
    "h": 150.8
  },
  "luminance": 0.15756
}

Semantic roles & 50–950 ramp

primary
#197F40
secondary
#B34187
accent
#3EA8EA
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #197F40

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

Preview Lab → · Contrast checker → · Palette generator →

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