#197D1B#197D1B

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

Color values

HEX#197D1B
RGBrgb(25, 125, 27)
HSLhsl(121, 67%, 29%)
HSVhsv(121, 80%, 49%)
CMYKcmyk(80%, 0%, 78.4%, 51%)
CIE-LABlab(45.57, -46.88, 42.53)
CIE-LCHlch(45.57, 63.30, 137.79°)
OKLaboklab(51.54% -0.1272 0.0957)
OKLCHoklch(51.54% 0.159 143)
XYZxyz(7.9318, 14.9521, 3.5047)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197D1B #7D197B
analogous
#497D19 #197D1B #197D4D
triadic
#197D1B #1B197D #7D1B19
tetradic
#197D1B #19497D #7D197B #7D4D19
square
#197D1B #19497D #7D197B #7D4D19
split-complementary
#197D1B #4D197D #7D1949
monochromatic
#051A06 #0F4A10 #197D1B #23B026 #39D73C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##197D1B#FFFFFF#000000##FFFFFF
##197D1B1.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)
#807005
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #197d1b;
/* rgb */ color: rgb(25, 125, 27);
/* oklch */ color: oklch(51.5% 0.159 143.0);
Tailwind
colors: {
  custom: {
    50: '#69a45f',
    500: '#197d1b',
    950: '#000000',
  },
}
SCSS
$custom: #197d1b;
$custom-light: #69a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#197d1b",
  "rgb": {
    "r": 25,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 121.2,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51542,
    "c": 0.15916,
    "h": 143
  },
  "luminance": 0.14953
}

Semantic roles & 50–950 ramp

primary
#197D1B
secondary
#B140AF
accent
#3EE6EA
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #197D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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