#198517#198517

#198517 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.8% C 0.170 H 142.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#198517
RGBrgb(25, 133, 23)
HSLhsl(119, 71%, 31%)
HSVhsv(119, 83%, 52%)
CMYKcmyk(81.2%, 0%, 82.7%, 47.8%)
CIE-LABlab(48.31, -49.80, 46.52)
CIE-LCHlch(48.31, 68.15, 136.95°)
OKLaboklab(53.82% -0.1353 0.1035)
OKLCHoklch(53.82% 0.17 142.6)
XYZxyz(8.9425, 17.0425, 3.6287)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198517 #831785
analogous
#508517 #198517 #17854C
triadic
#198517 #171985 #851719
tetradic
#198517 #175085 #831785 #854C17
square
#198517 #175085 #831785 #854C17
split-complementary
#198517 #4C1785 #851750
monochromatic
#051D05 #0F510E #198517 #23B920 #3DDD3A

Accessibility & contrast

On white

4.76
#198517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#198517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198517
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198517#FFFFFF#000000##FFFFFF
##1985171.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #198517;
/* rgb */ color: rgb(25, 133, 23);
/* oklch */ color: oklch(53.8% 0.170 142.6);
Tailwind
colors: {
  custom: {
    50: '#6caa5e',
    500: '#198517',
    950: '#000000',
  },
}
SCSS
$custom: #198517;
$custom-light: #6caa5e;
$custom-dark: #000000;
JSON
{
  "hex": "#198517",
  "rgb": {
    "r": 25,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 118.909,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53818,
    "c": 0.1703,
    "h": 142.6
  },
  "luminance": 0.17044
}

Semantic roles & 50–950 ramp

primary
#198517
secondary
#B73FB9
accent
#3BEDEA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #198517

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

Preview Lab → · Contrast checker → · Palette generator →

#198517 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva