#197A18#197A18

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

Color values

HEX#197A18
RGBrgb(25, 122, 24)
HSLhsl(119, 67%, 29%)
HSVhsv(119, 80%, 48%)
CMYKcmyk(79.5%, 0%, 80.3%, 52.2%)
CIE-LABlab(44.51, -46.10, 42.56)
CIE-LCHlch(44.51, 62.74, 137.29°)
OKLaboklab(50.65% -0.1252 0.0953)
OKLCHoklch(50.65% 0.157 142.7)
XYZxyz(7.5248, 14.1908, 3.2065)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197A18 #79187A
analogous
#4A7A18 #197A18 #187A48
triadic
#197A18 #18197A #7A1819
tetradic
#197A18 #184A7A #79187A #7A4818
square
#197A18 #184A7A #79187A #7A4818
split-complementary
#197A18 #48187A #7A184A
monochromatic
#051A05 #0F470E #197A18 #23AD22 #37D735

Accessibility & contrast

On white

5.47
#197A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #197A18
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197A18#FFFFFF#000000##FFFFFF
##197A181.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #197a18;
/* rgb */ color: rgb(25, 122, 24);
/* oklch */ color: oklch(50.7% 0.157 142.7);
Tailwind
colors: {
  custom: {
    50: '#69a15d',
    500: '#197a18',
    950: '#000000',
  },
}
SCSS
$custom: #197a18;
$custom-light: #69a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#197a18",
  "rgb": {
    "r": 25,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 119.388,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50652,
    "c": 0.15736,
    "h": 142.7
  },
  "luminance": 0.14192
}

Semantic roles & 50–950 ramp

primary
#197A18
secondary
#AE3FAF
accent
#3EEAE8
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #197A18

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

Preview Lab → · Contrast checker → · Palette generator →

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