#197F1C#197F1C

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

Color values

HEX#197F1C
RGBrgb(25, 127, 28)
HSLhsl(122, 67%, 30%)
HSVhsv(122, 80%, 50%)
CMYKcmyk(80.3%, 0%, 78%, 50.2%)
CIE-LABlab(46.27, -47.47, 42.86)
CIE-LCHlch(46.27, 63.96, 137.92°)
OKLaboklab(52.13% -0.1287 0.0966)
OKLCHoklch(52.13% 0.161 143.1)
XYZxyz(8.1994, 15.4683, 3.6519)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197F1C #7F197C
analogous
#497F19 #197F1C #197F4F
triadic
#197F1C #1C197F #7F1C19
tetradic
#197F1C #19497F #7F197C #7F4F19
square
#197F1C #19497F #7F197C #7F4F19
split-complementary
#197F1C #4F197F #7F1949
monochromatic
#051A06 #0F4C11 #197F1C #23B227 #3AD83F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##197F1C#FFFFFF#000000##FFFFFF
##197F1C1.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)
#827206
Deuteranopia (green-blind)
#776B27
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #197f1c;
/* rgb */ color: rgb(25, 127, 28);
/* oklch */ color: oklch(52.1% 0.161 143.1);
Tailwind
colors: {
  custom: {
    50: '#6aa560',
    500: '#197f1c',
    950: '#000000',
  },
}
SCSS
$custom: #197f1c;
$custom-light: #6aa560;
$custom-dark: #000000;
JSON
{
  "hex": "#197f1c",
  "rgb": {
    "r": 25,
    "g": 127,
    "b": 28
  },
  "hsl": {
    "h": 121.765,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52126,
    "c": 0.16091,
    "h": 143.1
  },
  "luminance": 0.15469
}

Semantic roles & 50–950 ramp

primary
#197F1C
secondary
#B341B0
accent
#3EE5EA
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #197F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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