#197F1F#197F1F

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

Color values

HEX#197F1F
RGBrgb(25, 127, 31)
HSLhsl(124, 67%, 30%)
HSVhsv(124, 80%, 50%)
CMYKcmyk(80.3%, 0%, 75.6%, 50.2%)
CIE-LABlab(46.29, -47.22, 41.75)
CIE-LCHlch(46.29, 63.03, 138.52°)
OKLaboklab(52.15% -0.1279 0.0946)
OKLCHoklch(52.15% 0.159 143.5)
XYZxyz(8.2371, 15.4834, 3.8505)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197F1F #7F1979
analogous
#467F19 #197F1F #197F52
triadic
#197F1F #1F197F #7F1F19
tetradic
#197F1F #19467F #7F1979 #7F5219
square
#197F1F #19467F #7F1979 #7F5219
split-complementary
#197F1F #52197F #7F1946
monochromatic
#051A06 #0F4C13 #197F1F #23B22B #3AD843

Accessibility & contrast

On white

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

On black

4.10
#197F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##197F1F#FFFFFF#000000##FFFFFF
##197F1F1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82720D
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #197f1f;
/* rgb */ color: rgb(25, 127, 31);
/* oklch */ color: oklch(52.1% 0.159 143.5);
Tailwind
colors: {
  custom: {
    50: '#6aa561',
    500: '#197f1f',
    950: '#000000',
  },
}
SCSS
$custom: #197f1f;
$custom-light: #6aa561;
$custom-dark: #000000;
JSON
{
  "hex": "#197f1f",
  "rgb": {
    "r": 25,
    "g": 127,
    "b": 31
  },
  "hsl": {
    "h": 123.529,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5215,
    "c": 0.1591,
    "h": 143.5
  },
  "luminance": 0.15484
}

Semantic roles & 50–950 ramp

primary
#197F1F
secondary
#B341AC
accent
#3EE0EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #197F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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