#198726#198726

#198726 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.5% C 0.164 H 144.3°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#198726
RGBrgb(25, 135, 38)
HSLhsl(127, 69%, 31%)
HSVhsv(127, 81%, 53%)
CMYKcmyk(81.5%, 0%, 71.9%, 47.1%)
CIE-LABlab(49.10, -49.25, 41.84)
CIE-LCHlch(49.10, 64.62, 139.65°)
OKLaboklab(54.5% -0.1331 0.0958)
OKLCHoklch(54.5% 0.164 144.3)
XYZxyz(9.4141, 17.6734, 4.7485)
Luminance0.1767 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198726 #87197A
analogous
#438719 #198726 #19875D
triadic
#198726 #261987 #872619
tetradic
#198726 #194387 #87197A #875D19
square
#198726 #194387 #87197A #875D19
split-complementary
#198726 #5D1987 #871943
monochromatic
#062009 #0F5317 #198726 #23BB35 #3FDB51

Accessibility & contrast

On white

4.63
#198726 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#198726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #198726
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198726#FFFFFF#000000##FFFFFF
##1987261.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A17
Deuteranopia (green-blind)
#7E7130
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #198726;
/* rgb */ color: rgb(25, 135, 38);
/* oklch */ color: oklch(54.5% 0.164 144.3);
Tailwind
colors: {
  custom: {
    50: '#6bab66',
    500: '#198726',
    950: '#000000',
  },
}
SCSS
$custom: #198726;
$custom-light: #6bab66;
$custom-dark: #000000;
JSON
{
  "hex": "#198726",
  "rgb": {
    "r": 25,
    "g": 135,
    "b": 38
  },
  "hsl": {
    "h": 127.091,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54501,
    "c": 0.16396,
    "h": 144.3
  },
  "luminance": 0.17675
}

Semantic roles & 50–950 ramp

primary
#198726
secondary
#BA41AC
accent
#3CD7EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #198726

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

Preview Lab → · Contrast checker → · Palette generator →

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