#197E1F#197E1F

#197E1F is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.158 H 143.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#197E1F
RGBrgb(25, 126, 31)
HSLhsl(124, 67%, 30%)
HSVhsv(124, 80%, 49%)
CMYKcmyk(80.2%, 0%, 75.4%, 50.6%)
CIE-LABlab(45.94, -46.88, 41.39)
CIE-LCHlch(45.94, 62.54, 138.56°)
OKLaboklab(51.86% -0.127 0.0939)
OKLCHoklch(51.86% 0.158 143.5)
XYZxyz(8.1086, 15.2264, 3.8077)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197E1F #7E1978
analogous
#467E19 #197E1F #197E51
triadic
#197E1F #1F197E #7E1F19
tetradic
#197E1F #19467E #7E1978 #7E5119
square
#197E1F #19467E #7E1978 #7E5119
split-complementary
#197E1F #51197E #7E1946
monochromatic
#051A06 #0F4B12 #197E1F #23B12C #3AD843

Accessibility & contrast

On white

5.19
#197E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#197E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197E1F
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197E1F#FFFFFF#000000##FFFFFF
##197E1F1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81710E
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #197e1f;
/* rgb */ color: rgb(25, 126, 31);
/* oklch */ color: oklch(51.9% 0.158 143.5);
Tailwind
colors: {
  custom: {
    50: '#69a461',
    500: '#197e1f',
    950: '#000000',
  },
}
SCSS
$custom: #197e1f;
$custom-light: #69a461;
$custom-dark: #000000;
JSON
{
  "hex": "#197e1f",
  "rgb": {
    "r": 25,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 123.564,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51862,
    "c": 0.15793,
    "h": 143.5
  },
  "luminance": 0.15227
}

Semantic roles & 50–950 ramp

primary
#197E1F
secondary
#B241AB
accent
#3EE0EA
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #197E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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