#198727#198727

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

Color values

HEX#198727
RGBrgb(25, 135, 39)
HSLhsl(128, 69%, 31%)
HSVhsv(128, 81%, 53%)
CMYKcmyk(81.5%, 0%, 71.1%, 47.1%)
CIE-LABlab(49.11, -49.15, 41.43)
CIE-LCHlch(49.11, 64.29, 139.87°)
OKLaboklab(54.51% -0.1328 0.095)
OKLCHoklch(54.51% 0.163 144.4)
XYZxyz(9.4304, 17.6800, 4.8346)
Luminance0.1768 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198727 #871979
analogous
#428719 #198727 #19875E
triadic
#198727 #271987 #872719
tetradic
#198727 #194287 #871979 #875E19
square
#198727 #194287 #871979 #875E19
split-complementary
#198727 #5E1987 #871942
monochromatic
#062009 #0F5318 #198727 #23BB36 #3FDB53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##198727#FFFFFF#000000##FFFFFF
##1987271.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)
#8A7A19
Deuteranopia (green-blind)
#7E7130
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #198727;
/* rgb */ color: rgb(25, 135, 39);
/* oklch */ color: oklch(54.5% 0.163 144.4);
Tailwind
colors: {
  custom: {
    50: '#6bab67',
    500: '#198727',
    950: '#000000',
  },
}
SCSS
$custom: #198727;
$custom-light: #6bab67;
$custom-dark: #000000;
JSON
{
  "hex": "#198727",
  "rgb": {
    "r": 25,
    "g": 135,
    "b": 39
  },
  "hsl": {
    "h": 127.636,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5451,
    "c": 0.16328,
    "h": 144.4
  },
  "luminance": 0.17681
}

Semantic roles & 50–950 ramp

primary
#198727
secondary
#BA41AB
accent
#3CD5EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #198727

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

Preview Lab → · Contrast checker → · Palette generator →

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