#197F42#197F42

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

Color values

HEX#197F42
RGBrgb(25, 127, 66)
HSLhsl(144, 67%, 30%)
HSVhsv(144, 80%, 50%)
CMYKcmyk(80.3%, 0%, 48%, 50.2%)
CIE-LABlab(46.68, -42.51, 25.27)
CIE-LCHlch(46.68, 49.46, 149.27°)
OKLaboklab(52.6% -0.1142 0.0619)
OKLCHoklch(52.6% 0.13 151.5)
XYZxyz(8.9729, 15.7777, 7.7257)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197F42 #7F1956
analogous
#237F19 #197F42 #197F75
triadic
#197F42 #42197F #7F4219
tetradic
#197F42 #19237F #7F1956 #7F7519
square
#197F42 #19237F #7F1956 #7F7519
split-complementary
#197F42 #75197F #7F1923
monochromatic
#051A0D #0F4C27 #197F42 #23B25D #3AD87A

Accessibility & contrast

On white

5.05
#197F42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#197F42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197F42
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197F42#FFFFFF#000000##FFFFFF
##197F421.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F743D
Deuteranopia (green-blind)
#746B46
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #197f42;
/* rgb */ color: rgb(25, 127, 66);
/* oklch */ color: oklch(52.6% 0.130 151.5);
Tailwind
colors: {
  custom: {
    50: '#68a577',
    500: '#197f42',
    950: '#000000',
  },
}
SCSS
$custom: #197f42;
$custom-light: #68a577;
$custom-dark: #000000;
JSON
{
  "hex": "#197f42",
  "rgb": {
    "r": 25,
    "g": 127,
    "b": 66
  },
  "hsl": {
    "h": 144.118,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52602,
    "c": 0.12994,
    "h": 151.5
  },
  "luminance": 0.15779
}

Semantic roles & 50–950 ramp

primary
#197F42
secondary
#B34185
accent
#3EA5EA
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #197F42

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

Preview Lab → · Contrast checker → · Palette generator →

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