#197B1F#197B1F

#197B1F is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.0% C 0.154 H 143.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#197B1F
RGBrgb(25, 123, 31)
HSLhsl(124, 66%, 29%)
HSVhsv(124, 80%, 48%)
CMYKcmyk(79.7%, 0%, 74.8%, 51.8%)
CIE-LABlab(44.90, -45.87, 40.33)
CIE-LCHlch(44.90, 61.07, 138.68°)
OKLaboklab(51% -0.1242 0.0917)
OKLCHoklch(51% 0.154 143.6)
XYZxyz(7.7307, 14.4706, 3.6817)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197B1F #7B1975
analogous
#447B19 #197B1F #197B50
triadic
#197B1F #1F197B #7B1F19
tetradic
#197B1F #19447B #7B1975 #7B5019
square
#197B1F #19447B #7B1975 #7B5019
split-complementary
#197B1F #50197B #7B1944
monochromatic
#051906 #0F4812 #197B1F #23AE2C #38D742

Accessibility & contrast

On white

5.39
#197B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#197B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197B1F
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197B1F#FFFFFF#000000##FFFFFF
##197B1F1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0F
Deuteranopia (green-blind)
#736728
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #197b1f;
/* rgb */ color: rgb(25, 123, 31);
/* oklch */ color: oklch(51.0% 0.154 143.6);
Tailwind
colors: {
  custom: {
    50: '#69a261',
    500: '#197b1f',
    950: '#000000',
  },
}
SCSS
$custom: #197b1f;
$custom-light: #69a261;
$custom-dark: #000000;
JSON
{
  "hex": "#197b1f",
  "rgb": {
    "r": 25,
    "g": 123,
    "b": 31
  },
  "hsl": {
    "h": 123.673,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50995,
    "c": 0.15438,
    "h": 143.6
  },
  "luminance": 0.14472
}

Semantic roles & 50–950 ramp

primary
#197B1F
secondary
#AF40A9
accent
#3FDFE9
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #197B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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