#197A42#197A42

#197A42 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.123 H 152.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#197A42
RGBrgb(25, 122, 66)
HSLhsl(145, 66%, 29%)
HSVhsv(145, 80%, 48%)
CMYKcmyk(79.5%, 0%, 45.9%, 52.2%)
CIE-LABlab(44.97, -40.58, 23.07)
CIE-LCHlch(44.97, 46.68, 150.38°)
OKLaboklab(51.18% -0.1091 0.0569)
OKLCHoklch(51.18% 0.123 152.5)
XYZxyz(8.3431, 14.5181, 7.5158)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197A42 #7A1951
analogous
#217A19 #197A42 #197A73
triadic
#197A42 #42197A #7A4219
tetradic
#197A42 #19217A #7A1951 #7A7319
square
#197A42 #19217A #7A1951 #7A7319
split-complementary
#197A42 #73197A #7A1921
monochromatic
#05190E #0F4727 #197A42 #23AD5D #37D67A

Accessibility & contrast

On white

5.38
#197A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #197A42
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197A42#FFFFFF#000000##FFFFFF
##197A421.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #197a42;
/* rgb */ color: rgb(25, 122, 66);
/* oklch */ color: oklch(51.2% 0.123 152.5);
Tailwind
colors: {
  custom: {
    50: '#67a177',
    500: '#197a42',
    950: '#000000',
  },
}
SCSS
$custom: #197a42;
$custom-light: #67a177;
$custom-dark: #000000;
JSON
{
  "hex": "#197a42",
  "rgb": {
    "r": 25,
    "g": 122,
    "b": 66
  },
  "hsl": {
    "h": 145.361,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51184,
    "c": 0.12305,
    "h": 152.5
  },
  "luminance": 0.14519
}

Semantic roles & 50–950 ramp

primary
#197A42
secondary
#AF4080
accent
#3FA1E9
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #197A42

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

Preview Lab → · Contrast checker → · Palette generator →

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