#197F1A#197F1A

#197F1A is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.1% C 0.162 H 142.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#197F1A
RGBrgb(25, 127, 26)
HSLhsl(121, 67%, 30%)
HSVhsv(121, 80%, 50%)
CMYKcmyk(80.3%, 0%, 79.5%, 50.2%)
CIE-LABlab(46.26, -47.63, 43.57)
CIE-LCHlch(46.26, 64.55, 137.55°)
OKLaboklab(52.11% -0.1292 0.0977)
OKLCHoklch(52.11% 0.162 142.9)
XYZxyz(8.1762, 15.4590, 3.5301)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197F1A #7F197E
analogous
#4B7F19 #197F1A #197F4D
triadic
#197F1A #1A197F #7F1A19
tetradic
#197F1A #194B7F #7F197E #7F4D19
square
#197F1A #194B7F #7F197E #7F4D19
split-complementary
#197F1A #4D197F #7F194B
monochromatic
#051A05 #0F4C10 #197F1A #23B224 #3AD83C

Accessibility & contrast

On white

5.13
#197F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#197F1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197F1A
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197F1A#FFFFFF#000000##FFFFFF
##197F1A1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827202
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #197f1a;
/* rgb */ color: rgb(25, 127, 26);
/* oklch */ color: oklch(52.1% 0.162 142.9);
Tailwind
colors: {
  custom: {
    50: '#6aa55f',
    500: '#197f1a',
    950: '#000000',
  },
}
SCSS
$custom: #197f1a;
$custom-light: #6aa55f;
$custom-dark: #000000;
JSON
{
  "hex": "#197f1a",
  "rgb": {
    "r": 25,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 120.588,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52112,
    "c": 0.16202,
    "h": 142.9
  },
  "luminance": 0.1546
}

Semantic roles & 50–950 ramp

primary
#197F1A
secondary
#B341B2
accent
#3EE8EA
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #197F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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