#197D18#197D18

#197D18 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.161 H 142.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#197D18
RGBrgb(25, 125, 24)
HSLhsl(119, 68%, 29%)
HSVhsv(119, 81%, 49%)
CMYKcmyk(80%, 0%, 80.8%, 51%)
CIE-LABlab(45.55, -47.11, 43.57)
CIE-LCHlch(45.55, 64.17, 137.23°)
OKLaboklab(51.52% -0.1279 0.0975)
OKLCHoklch(51.52% 0.161 142.7)
XYZxyz(7.8989, 14.9389, 3.3312)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197D18 #7C187D
analogous
#4C7D18 #197D18 #187D4A
triadic
#197D18 #18197D #7D1819
tetradic
#197D18 #184C7D #7C187D #7D4A18
square
#197D18 #184C7D #7C187D #7D4A18
split-complementary
#197D18 #4A187D #7D184C
monochromatic
#051A05 #0F4A0E #197D18 #23B022 #38D937

Accessibility & contrast

On white

5.27
#197D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#197D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197D18
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197D18#FFFFFF#000000##FFFFFF
##197D181.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #197d18;
/* rgb */ color: rgb(25, 125, 24);
/* oklch */ color: oklch(51.5% 0.161 142.7);
Tailwind
colors: {
  custom: {
    50: '#69a45e',
    500: '#197d18',
    950: '#000000',
  },
}
SCSS
$custom: #197d18;
$custom-light: #69a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#197d18",
  "rgb": {
    "r": 25,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 119.406,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51521,
    "c": 0.1608,
    "h": 142.7
  },
  "luminance": 0.1494
}

Semantic roles & 50–950 ramp

primary
#197D18
secondary
#B03FB2
accent
#3DEBE9
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #197D18

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

Preview Lab → · Contrast checker → · Palette generator →

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