#198828#198828

#198828 is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.8% C 0.164 H 144.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#198828
RGBrgb(25, 136, 40)
HSLhsl(128, 69%, 32%)
HSVhsv(128, 82%, 53%)
CMYKcmyk(81.6%, 0%, 70.6%, 46.7%)
CIE-LABlab(49.46, -49.39, 41.38)
CIE-LCHlch(49.46, 64.43, 140.04°)
OKLaboklab(54.8% -0.1334 0.095)
OKLCHoklch(54.8% 0.164 144.5)
XYZxyz(9.5874, 17.9670, 4.9698)
Luminance0.1797 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198828 #881979
analogous
#428819 #198828 #198860
triadic
#198828 #281988 #882819
tetradic
#198828 #194288 #881979 #886019
square
#198828 #194288 #881979 #886019
split-complementary
#198828 #601988 #881942
monochromatic
#06210A #0F5419 #198828 #23BC37 #40DC55

Accessibility & contrast

On white

4.57
#198828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#198828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198828
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198828#FFFFFF#000000##000000
##1988281.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1A
Deuteranopia (green-blind)
#7F7231
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #198828;
/* rgb */ color: rgb(25, 136, 40);
/* oklch */ color: oklch(54.8% 0.164 144.5);
Tailwind
colors: {
  custom: {
    50: '#6cac67',
    500: '#198828',
    950: '#000000',
  },
}
SCSS
$custom: #198828;
$custom-light: #6cac67;
$custom-dark: #000000;
JSON
{
  "hex": "#198828",
  "rgb": {
    "r": 25,
    "g": 136,
    "b": 40
  },
  "hsl": {
    "h": 128.108,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54804,
    "c": 0.16377,
    "h": 144.5
  },
  "luminance": 0.17968
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #198828

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

Preview Lab → · Contrast checker → · Palette generator →

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