#197D1C#197D1C

#197D1C is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.5% C 0.159 H 143.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#197D1C
RGBrgb(25, 125, 28)
HSLhsl(122, 67%, 29%)
HSVhsv(122, 80%, 49%)
CMYKcmyk(80%, 0%, 77.6%, 51%)
CIE-LABlab(45.58, -46.80, 42.17)
CIE-LCHlch(45.58, 63.00, 137.98°)
OKLaboklab(51.55% -0.1269 0.0951)
OKLCHoklch(51.55% 0.159 143.1)
XYZxyz(7.9436, 14.9568, 3.5667)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197D1C #7D197A
analogous
#487D19 #197D1C #197D4E
triadic
#197D1C #1C197D #7D1C19
tetradic
#197D1C #19487D #7D197A #7D4E19
square
#197D1C #19487D #7D197A #7D4E19
split-complementary
#197D1C #4E197D #7D1948
monochromatic
#051A06 #0F4A11 #197D1C #23B027 #39D73E

Accessibility & contrast

On white

5.26
#197D1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#197D1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197D1C
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197D1C#FFFFFF#000000##FFFFFF
##197D1C1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807008
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #197d1c;
/* rgb */ color: rgb(25, 125, 28);
/* oklch */ color: oklch(51.5% 0.159 143.1);
Tailwind
colors: {
  custom: {
    50: '#69a45f',
    500: '#197d1c',
    950: '#000000',
  },
}
SCSS
$custom: #197d1c;
$custom-light: #69a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#197d1c",
  "rgb": {
    "r": 25,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 121.8,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51549,
    "c": 0.15859,
    "h": 143.1
  },
  "luminance": 0.14958
}

Semantic roles & 50–950 ramp

primary
#197D1C
secondary
#B140AE
accent
#3EE4EA
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #197D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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