#197E1A#197E1A

#197E1A is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.161 H 142.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#197E1A
RGBrgb(25, 126, 26)
HSLhsl(121, 67%, 30%)
HSVhsv(121, 80%, 49%)
CMYKcmyk(80.2%, 0%, 79.4%, 50.6%)
CIE-LABlab(45.91, -47.29, 43.23)
CIE-LCHlch(45.91, 64.07, 137.57°)
OKLaboklab(51.82% -0.1283 0.097)
OKLCHoklch(51.82% 0.161 142.9)
XYZxyz(8.0477, 15.2020, 3.4872)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197E1A #7E197D
analogous
#4B7E19 #197E1A #197E4D
triadic
#197E1A #1A197E #7E1A19
tetradic
#197E1A #194B7E #7E197D #7E4D19
square
#197E1A #194B7E #7E197D #7E4D19
split-complementary
#197E1A #4D197E #7E194B
monochromatic
#051A05 #0F4B0F #197E1A #23B125 #3AD83B

Accessibility & contrast

On white

5.20
#197E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#197E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197E1A
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197E1A#FFFFFF#000000##FFFFFF
##197E1A1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817103
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #197e1a;
/* rgb */ color: rgb(25, 126, 26);
/* oklch */ color: oklch(51.8% 0.161 142.9);
Tailwind
colors: {
  custom: {
    50: '#6aa45f',
    500: '#197e1a',
    950: '#000000',
  },
}
SCSS
$custom: #197e1a;
$custom-light: #6aa45f;
$custom-dark: #000000;
JSON
{
  "hex": "#197e1a",
  "rgb": {
    "r": 25,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 120.594,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51824,
    "c": 0.16088,
    "h": 142.9
  },
  "luminance": 0.15203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #197E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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