#198827#198827

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

Color values

HEX#198827
RGBrgb(25, 136, 39)
HSLhsl(128, 69%, 32%)
HSVhsv(128, 82%, 53%)
CMYKcmyk(81.6%, 0%, 71.3%, 46.7%)
CIE-LABlab(49.45, -49.49, 41.79)
CIE-LCHlch(49.45, 64.77, 139.82°)
OKLaboklab(54.8% -0.1337 0.0958)
OKLCHoklch(54.8% 0.164 144.4)
XYZxyz(9.5706, 17.9603, 4.8813)
Luminance0.1796 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198827 #88197A
analogous
#438819 #198827 #19885F
triadic
#198827 #271988 #882719
tetradic
#198827 #194388 #88197A #885F19
square
#198827 #194388 #88197A #885F19
split-complementary
#198827 #5F1988 #881943
monochromatic
#062109 #0F5418 #198827 #23BC36 #40DC53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##198827#FFFFFF#000000##000000
##1988271.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)
#8B7B19
Deuteranopia (green-blind)
#7F7230
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #198827;
/* rgb */ color: rgb(25, 136, 39);
/* oklch */ color: oklch(54.8% 0.164 144.4);
Tailwind
colors: {
  custom: {
    50: '#6cac67',
    500: '#198827',
    950: '#000000',
  },
}
SCSS
$custom: #198827;
$custom-light: #6cac67;
$custom-dark: #000000;
JSON
{
  "hex": "#198827",
  "rgb": {
    "r": 25,
    "g": 136,
    "b": 39
  },
  "hsl": {
    "h": 127.568,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54795,
    "c": 0.16447,
    "h": 144.4
  },
  "luminance": 0.17961
}

Semantic roles & 50–950 ramp

primary
#198827
secondary
#BB41AC
accent
#3CD6EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #198827

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

Preview Lab → · Contrast checker → · Palette generator →

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