#197B18#197B18

#197B18 is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.159 H 142.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#197B18
RGBrgb(25, 123, 24)
HSLhsl(119, 67%, 29%)
HSVhsv(119, 80%, 48%)
CMYKcmyk(79.7%, 0%, 80.5%, 51.8%)
CIE-LABlab(44.85, -46.44, 42.90)
CIE-LCHlch(44.85, 63.22, 137.27°)
OKLaboklab(50.94% -0.1261 0.096)
OKLCHoklch(50.94% 0.159 142.7)
XYZxyz(7.6483, 14.4376, 3.2476)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197B18 #7A187B
analogous
#4B7B18 #197B18 #187B49
triadic
#197B18 #18197B #7B1819
tetradic
#197B18 #184B7B #7A187B #7B4918
square
#197B18 #184B7B #7A187B #7B4918
split-complementary
#197B18 #49187B #7B184B
monochromatic
#051A05 #0F480E #197B18 #23AE22 #37D836

Accessibility & contrast

On white

5.40
#197B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#197B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197B18
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197B18#FFFFFF#000000##FFFFFF
##197B181.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #197b18;
/* rgb */ color: rgb(25, 123, 24);
/* oklch */ color: oklch(50.9% 0.159 142.7);
Tailwind
colors: {
  custom: {
    50: '#69a25d',
    500: '#197b18',
    950: '#000000',
  },
}
SCSS
$custom: #197b18;
$custom-light: #69a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#197b18",
  "rgb": {
    "r": 25,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 119.394,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50942,
    "c": 0.15851,
    "h": 142.7
  },
  "luminance": 0.14439
}

Semantic roles & 50–950 ramp

primary
#197B18
secondary
#AF3FB0
accent
#3EEAE8
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #197B18

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

Preview Lab → · Contrast checker → · Palette generator →

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