#198817#198817

#198817 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.7% C 0.174 H 142.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#198817
RGBrgb(25, 136, 23)
HSLhsl(119, 71%, 31%)
HSVhsv(119, 83%, 53%)
CMYKcmyk(81.6%, 0%, 83.1%, 46.7%)
CIE-LABlab(49.34, -50.77, 47.49)
CIE-LCHlch(49.34, 69.52, 136.91°)
OKLaboklab(54.68% -0.1379 0.1055)
OKLCHoklch(54.68% 0.174 142.6)
XYZxyz(9.3591, 17.8757, 3.7676)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198817 #861788
analogous
#518817 #198817 #17884D
triadic
#198817 #171988 #881719
tetradic
#198817 #175188 #861788 #884D17
square
#198817 #175188 #861788 #884D17
split-complementary
#198817 #4D1788 #881751
monochromatic
#061F05 #0F540E #198817 #23BC20 #3EDE3B

Accessibility & contrast

On white

4.59
#198817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#198817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #198817
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198817#FFFFFF#000000##FFFFFF
##1988171.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#008473
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #198817;
/* rgb */ color: rgb(25, 136, 23);
/* oklch */ color: oklch(54.7% 0.174 142.6);
Tailwind
colors: {
  custom: {
    50: '#6cac5f',
    500: '#198817',
    950: '#000000',
  },
}
SCSS
$custom: #198817;
$custom-light: #6cac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#198817",
  "rgb": {
    "r": 25,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 118.938,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54676,
    "c": 0.17361,
    "h": 142.6
  },
  "luminance": 0.17877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #198817

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

Preview Lab → · Contrast checker → · Palette generator →

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