#198B1B#198B1B

#198B1B is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.6% C 0.175 H 142.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#198B1B
RGBrgb(25, 139, 27)
HSLhsl(121, 70%, 32%)
HSVhsv(121, 82%, 55%)
CMYKcmyk(82%, 0%, 80.6%, 45.5%)
CIE-LABlab(50.39, -51.48, 47.23)
CIE-LCHlch(50.39, 69.86, 137.46°)
OKLaboklab(55.56% -0.1396 0.1055)
OKLCHoklch(55.56% 0.175 142.9)
XYZxyz(9.8307, 18.7499, 4.1377)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198B1B #8B1989
analogous
#508B19 #198B1B #198B54
triadic
#198B1B #1B198B #8B1B19
tetradic
#198B1B #19508B #8B1989 #8B5419
square
#198B1B #19508B #8B1989 #8B5419
split-complementary
#198B1B #54198B #8B1950
monochromatic
#062307 #105711 #198B1B #22BF25 #41DD44

Accessibility & contrast

On white

4.42
#198B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#198B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198B1B
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198B1B#FFFFFF#000000##000000
##198B1B1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #198b1b;
/* rgb */ color: rgb(25, 139, 27);
/* oklch */ color: oklch(55.6% 0.175 142.9);
Tailwind
colors: {
  custom: {
    50: '#6dae61',
    500: '#198b1b',
    950: '#000000',
  },
}
SCSS
$custom: #198b1b;
$custom-light: #6dae61;
$custom-dark: #000000;
JSON
{
  "hex": "#198b1b",
  "rgb": {
    "r": 25,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 121.053,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55555,
    "c": 0.17501,
    "h": 142.9
  },
  "luminance": 0.18751
}

Semantic roles & 50–950 ramp

primary
#198B1B
secondary
#BE42BC
accent
#3BE9EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #198B1B

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

Preview Lab → · Contrast checker → · Palette generator →

#198B1B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva