#197A1B#197A1B

#197A1B is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.156 H 143.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#197A1B
RGBrgb(25, 122, 27)
HSLhsl(121, 66%, 29%)
HSVhsv(121, 80%, 48%)
CMYKcmyk(79.5%, 0%, 77.9%, 52.2%)
CIE-LABlab(44.52, -45.87, 41.50)
CIE-LCHlch(44.52, 61.85, 137.87°)
OKLaboklab(50.67% -0.1244 0.0936)
OKLCHoklch(50.67% 0.156 143.1)
XYZxyz(7.5578, 14.2040, 3.3800)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197A1B #7A1978
analogous
#487A19 #197A1B #197A4C
triadic
#197A1B #1B197A #7A1B19
tetradic
#197A1B #19487A #7A1978 #7A4C19
square
#197A1B #19487A #7A1978 #7A4C19
split-complementary
#197A1B #4C197A #7A1948
monochromatic
#051906 #0F4710 #197A1B #23AD26 #37D63B

Accessibility & contrast

On white

5.47
#197A1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#197A1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197A1B
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197A1B#FFFFFF#000000##FFFFFF
##197A1B1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E07
Deuteranopia (green-blind)
#726625
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #197a1b;
/* rgb */ color: rgb(25, 122, 27);
/* oklch */ color: oklch(50.7% 0.156 143.1);
Tailwind
colors: {
  custom: {
    50: '#68a15f',
    500: '#197a1b',
    950: '#000000',
  },
}
SCSS
$custom: #197a1b;
$custom-light: #68a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#197a1b",
  "rgb": {
    "r": 25,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 121.237,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50674,
    "c": 0.15567,
    "h": 143.1
  },
  "luminance": 0.14205
}

Semantic roles & 50–950 ramp

primary
#197A1B
secondary
#AF40AC
accent
#3FE5E9
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #197A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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