#197F18#197F18

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

Color values

HEX#197F18
RGBrgb(25, 127, 24)
HSLhsl(119, 68%, 30%)
HSVhsv(119, 81%, 50%)
CMYKcmyk(80.3%, 0%, 81.1%, 50.2%)
CIE-LABlab(46.24, -47.77, 44.24)
CIE-LCHlch(46.24, 65.11, 137.20°)
OKLaboklab(52.1% -0.1297 0.0988)
OKLCHoklch(52.1% 0.163 142.7)
XYZxyz(8.1546, 15.4504, 3.4164)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197F18 #7E187F
analogous
#4D7F18 #197F18 #187F4A
triadic
#197F18 #18197F #7F1819
tetradic
#197F18 #184D7F #7E187F #7F4A18
square
#197F18 #184D7F #7E187F #7F4A18
split-complementary
#197F18 #4A187F #7F184D
monochromatic
#051A05 #0F4C0E #197F18 #23B222 #3AD938

Accessibility & contrast

On white

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

On black

4.09
#197F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##197F18#FFFFFF#000000##FFFFFF
##197F181.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #197f18;
/* rgb */ color: rgb(25, 127, 24);
/* oklch */ color: oklch(52.1% 0.163 142.7);
Tailwind
colors: {
  custom: {
    50: '#6aa55e',
    500: '#197f18',
    950: '#000000',
  },
}
SCSS
$custom: #197f18;
$custom-light: #6aa55e;
$custom-dark: #000000;
JSON
{
  "hex": "#197f18",
  "rgb": {
    "r": 25,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 119.417,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52099,
    "c": 0.16308,
    "h": 142.7
  },
  "luminance": 0.15451
}

Semantic roles & 50–950 ramp

primary
#197F18
secondary
#B23FB3
accent
#3DEBE9
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #197F18

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

Preview Lab → · Contrast checker → · Palette generator →

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