#198A17#198A17

#198A17 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.2% C 0.176 H 142.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#198A17
RGBrgb(25, 138, 23)
HSLhsl(119, 71%, 32%)
HSVhsv(119, 83%, 54%)
CMYKcmyk(81.9%, 0%, 83.3%, 45.9%)
CIE-LABlab(50.03, -51.41, 48.13)
CIE-LCHlch(50.03, 70.43, 136.89°)
OKLaboklab(55.25% -0.1396 0.1068)
OKLCHoklch(55.25% 0.176 142.6)
XYZxyz(9.6434, 18.4443, 3.8623)
Luminance0.1845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198A17 #88178A
analogous
#538A17 #198A17 #178A4F
triadic
#198A17 #17198A #8A1719
tetradic
#198A17 #17538A #88178A #8A4F17
square
#198A17 #17538A #88178A #8A4F17
split-complementary
#198A17 #4F178A #8A1753
monochromatic
#062106 #0F560E #198A17 #23BE20 #40DF3D

Accessibility & contrast

On white

4.48
#198A17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#198A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198A17
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198A17#FFFFFF#000000##000000
##198A171.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#008675
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #198a17;
/* rgb */ color: rgb(25, 138, 23);
/* oklch */ color: oklch(55.2% 0.176 142.6);
Tailwind
colors: {
  custom: {
    50: '#6dad5f',
    500: '#198a17',
    950: '#000000',
  },
}
SCSS
$custom: #198a17;
$custom-light: #6dad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#198a17",
  "rgb": {
    "r": 25,
    "g": 138,
    "b": 23
  },
  "hsl": {
    "h": 118.957,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55247,
    "c": 0.1758,
    "h": 142.6
  },
  "luminance": 0.18445
}

Semantic roles & 50–950 ramp

primary
#198A17
secondary
#BB3FBE
accent
#3AEEEB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #198A17

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

Preview Lab → · Contrast checker → · Palette generator →

#198A17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva