#197B42#197B42

#197B42 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.124 H 152.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#197B42
RGBrgb(25, 123, 66)
HSLhsl(145, 66%, 29%)
HSVhsv(145, 80%, 48%)
CMYKcmyk(79.7%, 0%, 46.3%, 51.8%)
CIE-LABlab(45.31, -40.97, 23.52)
CIE-LCHlch(45.31, 47.24, 150.14°)
OKLaboklab(51.47% -0.1101 0.0579)
OKLCHoklch(51.47% 0.124 152.3)
XYZxyz(8.4665, 14.7649, 7.5569)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197B42 #7B1952
analogous
#217B19 #197B42 #197B73
triadic
#197B42 #42197B #7B4219
tetradic
#197B42 #19217B #7B1952 #7B7319
square
#197B42 #19217B #7B1952 #7B7319
split-complementary
#197B42 #73197B #7B1921
monochromatic
#05190E #0F4827 #197B42 #23AE5D #38D77A

Accessibility & contrast

On white

5.31
#197B42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#197B42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197B42
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197B42#FFFFFF#000000##FFFFFF
##197B421.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B703E
Deuteranopia (green-blind)
#706846
Tritanopia (blue-blind)
#00796D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #197b42;
/* rgb */ color: rgb(25, 123, 66);
/* oklch */ color: oklch(51.5% 0.124 152.3);
Tailwind
colors: {
  custom: {
    50: '#67a277',
    500: '#197b42',
    950: '#000000',
  },
}
SCSS
$custom: #197b42;
$custom-light: #67a277;
$custom-dark: #000000;
JSON
{
  "hex": "#197b42",
  "rgb": {
    "r": 25,
    "g": 123,
    "b": 66
  },
  "hsl": {
    "h": 145.102,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51468,
    "c": 0.12444,
    "h": 152.3
  },
  "luminance": 0.14766
}

Semantic roles & 50–950 ramp

primary
#197B42
secondary
#AF4081
accent
#3FA2E9
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #197B42

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

Preview Lab → · Contrast checker → · Palette generator →

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