#197D1F#197D1F

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

Color values

HEX#197D1F
RGBrgb(25, 125, 31)
HSLhsl(124, 67%, 29%)
HSVhsv(124, 80%, 49%)
CMYKcmyk(80%, 0%, 75.2%, 51%)
CIE-LABlab(45.60, -46.55, 41.04)
CIE-LCHlch(45.60, 62.06, 138.60°)
OKLaboklab(51.57% -0.1261 0.0932)
OKLCHoklch(51.57% 0.157 143.5)
XYZxyz(7.9813, 14.9719, 3.7653)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197D1F #7D1977
analogous
#457D19 #197D1F #197D51
triadic
#197D1F #1F197D #7D1F19
tetradic
#197D1F #19457D #7D1977 #7D5119
square
#197D1F #19457D #7D1977 #7D5119
split-complementary
#197D1F #51197D #7D1945
monochromatic
#051A06 #0F4A12 #197D1F #23B02C #39D743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##197D1F#FFFFFF#000000##FFFFFF
##197D1F1.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)
#80710E
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #197d1f;
/* rgb */ color: rgb(25, 125, 31);
/* oklch */ color: oklch(51.6% 0.157 143.5);
Tailwind
colors: {
  custom: {
    50: '#69a461',
    500: '#197d1f',
    950: '#000000',
  },
}
SCSS
$custom: #197d1f;
$custom-light: #69a461;
$custom-dark: #000000;
JSON
{
  "hex": "#197d1f",
  "rgb": {
    "r": 25,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 123.6,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51573,
    "c": 0.15675,
    "h": 143.5
  },
  "luminance": 0.14973
}

Semantic roles & 50–950 ramp

primary
#197D1F
secondary
#B140AB
accent
#3EDFEA
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #197D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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