#198D17#198D17

#198D17 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.179 H 142.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#198D17
RGBrgb(25, 141, 23)
HSLhsl(119, 72%, 32%)
HSVhsv(119, 84%, 55%)
CMYKcmyk(82.3%, 0%, 83.7%, 44.7%)
CIE-LABlab(51.06, -52.37, 49.08)
CIE-LCHlch(51.06, 71.77, 136.85°)
OKLaboklab(56.1% -0.1422 0.1088)
OKLCHoklch(56.1% 0.179 142.6)
XYZxyz(10.0798, 19.3171, 4.0078)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198D17 #8B178D
analogous
#548D17 #198D17 #178D50
triadic
#198D17 #17198D #8D1719
tetradic
#198D17 #17548D #8B178D #8D5017
square
#198D17 #17548D #8B178D #8D5017
split-complementary
#198D17 #50178D #8D1754
monochromatic
#062406 #10580E #198D17 #22C220 #41E03F

Accessibility & contrast

On white

4.32
#198D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#198D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198D17
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198D17#FFFFFF#000000##000000
##198D171.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #198d17;
/* rgb */ color: rgb(25, 141, 23);
/* oklch */ color: oklch(56.1% 0.179 142.6);
Tailwind
colors: {
  custom: {
    50: '#6eaf60',
    500: '#198d17',
    950: '#000000',
  },
}
SCSS
$custom: #198d17;
$custom-light: #6eaf60;
$custom-dark: #000000;
JSON
{
  "hex": "#198d17",
  "rgb": {
    "r": 25,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 118.983,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56101,
    "c": 0.17907,
    "h": 142.6
  },
  "luminance": 0.19318
}

Semantic roles & 50–950 ramp

primary
#198D17
secondary
#BE40C0
accent
#39EFEC
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#081105
muted
#7B8079

Preview Lab

Preview with #198D17

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

Preview Lab → · Contrast checker → · Palette generator →

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