#198728#198728

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

Color values

HEX#198728
RGBrgb(25, 135, 40)
HSLhsl(128, 69%, 31%)
HSVhsv(128, 81%, 53%)
CMYKcmyk(81.5%, 0%, 70.4%, 47.1%)
CIE-LABlab(49.11, -49.05, 41.02)
CIE-LCHlch(49.11, 63.94, 140.10°)
OKLaboklab(54.52% -0.1325 0.0943)
OKLCHoklch(54.52% 0.163 144.6)
XYZxyz(9.4472, 17.6867, 4.9230)
Luminance0.1769 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198728 #871978
analogous
#418719 #198728 #19875F
triadic
#198728 #281987 #872819
tetradic
#198728 #194187 #871978 #875F19
square
#198728 #194187 #871978 #875F19
split-complementary
#198728 #5F1987 #871941
monochromatic
#062009 #0F5319 #198728 #23BB37 #3FDB54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##198728#FFFFFF#000000##FFFFFF
##1987281.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)
#8A7A1A
Deuteranopia (green-blind)
#7E7131
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #198728;
/* rgb */ color: rgb(25, 135, 40);
/* oklch */ color: oklch(54.5% 0.163 144.6);
Tailwind
colors: {
  custom: {
    50: '#6bab67',
    500: '#198728',
    950: '#000000',
  },
}
SCSS
$custom: #198728;
$custom-light: #6bab67;
$custom-dark: #000000;
JSON
{
  "hex": "#198728",
  "rgb": {
    "r": 25,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 128.182,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5452,
    "c": 0.16257,
    "h": 144.6
  },
  "luminance": 0.17688
}

Semantic roles & 50–950 ramp

primary
#198728
secondary
#BA41AA
accent
#3CD4EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #198728

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

Preview Lab → · Contrast checker → · Palette generator →

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