#197A1F#197A1F

#197A1F is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.153 H 143.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#197A1F
RGBrgb(25, 122, 31)
HSLhsl(124, 66%, 29%)
HSVhsv(124, 80%, 48%)
CMYKcmyk(79.5%, 0%, 74.6%, 52.2%)
CIE-LABlab(44.55, -45.52, 39.97)
CIE-LCHlch(44.55, 60.58, 138.72°)
OKLaboklab(50.71% -0.1233 0.0909)
OKLCHoklch(50.71% 0.153 143.6)
XYZxyz(7.6073, 14.2238, 3.6406)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197A1F #7A1974
analogous
#447A19 #197A1F #197A50
triadic
#197A1F #1F197A #7A1F19
tetradic
#197A1F #19447A #7A1974 #7A5019
square
#197A1F #19447A #7A1974 #7A5019
split-complementary
#197A1F #50197A #7A1944
monochromatic
#051906 #0F4712 #197A1F #23AD2C #37D641

Accessibility & contrast

On white

5.46
#197A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#197A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197A1F
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197A1F#FFFFFF#000000##FFFFFF
##197A1F1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E10
Deuteranopia (green-blind)
#726728
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #197a1f;
/* rgb */ color: rgb(25, 122, 31);
/* oklch */ color: oklch(50.7% 0.153 143.6);
Tailwind
colors: {
  custom: {
    50: '#68a161',
    500: '#197a1f',
    950: '#000000',
  },
}
SCSS
$custom: #197a1f;
$custom-light: #68a161;
$custom-dark: #000000;
JSON
{
  "hex": "#197a1f",
  "rgb": {
    "r": 25,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 123.711,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50706,
    "c": 0.15319,
    "h": 143.6
  },
  "luminance": 0.14225
}

Semantic roles & 50–950 ramp

primary
#197A1F
secondary
#AF40A8
accent
#3FDEE9
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #197A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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