#198F17#198F17

#198F17 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.181 H 142.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#198F17
RGBrgb(25, 143, 23)
HSLhsl(119, 72%, 33%)
HSVhsv(119, 84%, 56%)
CMYKcmyk(82.5%, 0%, 83.9%, 43.9%)
CIE-LABlab(51.74, -53.00, 49.72)
CIE-LCHlch(51.74, 72.67, 136.83°)
OKLaboklab(56.67% -0.1439 0.1101)
OKLCHoklch(56.67% 0.181 142.6)
XYZxyz(10.3774, 19.9122, 4.1070)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198F17 #8D178F
analogous
#558F17 #198F17 #178F51
triadic
#198F17 #17198F #8F1719
tetradic
#198F17 #17558F #8D178F #8F5117
square
#198F17 #17558F #8D178F #8F5117
split-complementary
#198F17 #51178F #8F1755
monochromatic
#072606 #105A0F #198F17 #22C41F #43E040

Accessibility & contrast

On white

4.21
#198F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#198F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198F17
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198F17#FFFFFF#000000##000000
##198F171.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#008B79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #198f17;
/* rgb */ color: rgb(25, 143, 23);
/* oklch */ color: oklch(56.7% 0.181 142.6);
Tailwind
colors: {
  custom: {
    50: '#6eb160',
    500: '#198f17',
    950: '#000000',
  },
}
SCSS
$custom: #198f17;
$custom-light: #6eb160;
$custom-dark: #000000;
JSON
{
  "hex": "#198f17",
  "rgb": {
    "r": 25,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 119,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56668,
    "c": 0.18123,
    "h": 142.6
  },
  "luminance": 0.19913
}

Semantic roles & 50–950 ramp

primary
#198F17
secondary
#BF41C1
accent
#39EFEC
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #198F17

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

Preview Lab → · Contrast checker → · Palette generator →

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