#197F1B#197F1B

#197F1B is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.1% C 0.161 H 143.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#197F1B
RGBrgb(25, 127, 27)
HSLhsl(121, 67%, 30%)
HSVhsv(121, 80%, 50%)
CMYKcmyk(80.3%, 0%, 78.7%, 50.2%)
CIE-LABlab(46.26, -47.55, 43.22)
CIE-LCHlch(46.26, 64.26, 137.73°)
OKLaboklab(52.12% -0.129 0.0972)
OKLCHoklch(52.12% 0.161 143)
XYZxyz(8.1876, 15.4636, 3.5900)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197F1B #7F197D
analogous
#4A7F19 #197F1B #197F4E
triadic
#197F1B #1B197F #7F1B19
tetradic
#197F1B #194A7F #7F197D #7F4E19
square
#197F1B #194A7F #7F197D #7F4E19
split-complementary
#197F1B #4E197F #7F194A
monochromatic
#051A05 #0F4C10 #197F1B #23B226 #3AD83D

Accessibility & contrast

On white

5.13
#197F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#197F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197F1B
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197F1B#FFFFFF#000000##FFFFFF
##197F1B1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827204
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #197f1b;
/* rgb */ color: rgb(25, 127, 27);
/* oklch */ color: oklch(52.1% 0.161 143.0);
Tailwind
colors: {
  custom: {
    50: '#6aa55f',
    500: '#197f1b',
    950: '#000000',
  },
}
SCSS
$custom: #197f1b;
$custom-light: #6aa55f;
$custom-dark: #000000;
JSON
{
  "hex": "#197f1b",
  "rgb": {
    "r": 25,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 121.176,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52119,
    "c": 0.16147,
    "h": 143
  },
  "luminance": 0.15465
}

Semantic roles & 50–950 ramp

primary
#197F1B
secondary
#B341B1
accent
#3EE7EA
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #197F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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