#198917#198917

#198917 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.0% C 0.175 H 142.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#198917
RGBrgb(25, 137, 23)
HSLhsl(119, 71%, 31%)
HSVhsv(119, 83%, 54%)
CMYKcmyk(81.8%, 0%, 83.2%, 46.3%)
CIE-LABlab(49.69, -51.09, 47.81)
CIE-LCHlch(49.69, 69.97, 136.90°)
OKLaboklab(54.96% -0.1388 0.1062)
OKLCHoklch(54.96% 0.175 142.6)
XYZxyz(9.5006, 18.1587, 3.8147)
Luminance0.1816 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198917 #871789
analogous
#528917 #198917 #17894E
triadic
#198917 #171989 #891719
tetradic
#198917 #175289 #871789 #894E17
square
#198917 #175289 #871789 #894E17
split-complementary
#198917 #4E1789 #891752
monochromatic
#062005 #0F550E #198917 #23BD20 #3FDE3C

Accessibility & contrast

On white

4.53
#198917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#198917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198917
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198917#FFFFFF#000000##000000
##1989171.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#008574
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #198917;
/* rgb */ color: rgb(25, 137, 23);
/* oklch */ color: oklch(55.0% 0.175 142.6);
Tailwind
colors: {
  custom: {
    50: '#6dad5f',
    500: '#198917',
    950: '#000000',
  },
}
SCSS
$custom: #198917;
$custom-light: #6dad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#198917",
  "rgb": {
    "r": 25,
    "g": 137,
    "b": 23
  },
  "hsl": {
    "h": 118.947,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54962,
    "c": 0.17471,
    "h": 142.6
  },
  "luminance": 0.1816
}

Semantic roles & 50–950 ramp

primary
#198917
secondary
#BA3FBD
accent
#3AEEEB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #198917

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

Preview Lab → · Contrast checker → · Palette generator →

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