#198B1C#198B1C

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

Color values

HEX#198B1C
RGBrgb(25, 139, 28)
HSLhsl(122, 70%, 32%)
HSVhsv(122, 82%, 55%)
CMYKcmyk(82%, 0%, 79.9%, 45.5%)
CIE-LABlab(50.40, -51.41, 46.91)
CIE-LCHlch(50.40, 69.59, 137.62°)
OKLaboklab(55.56% -0.1394 0.105)
OKLCHoklch(55.56% 0.175 143)
XYZxyz(9.8425, 18.7546, 4.1996)
Luminance0.1876 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198B1C #8B1988
analogous
#4F8B19 #198B1C #198B55
triadic
#198B1C #1C198B #8B1C19
tetradic
#198B1C #194F8B #8B1988 #8B5519
square
#198B1C #194F8B #8B1988 #8B5519
split-complementary
#198B1C #55198B #8B194F
monochromatic
#062307 #105712 #198B1C #22BF26 #41DD46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##198B1C#FFFFFF#000000##000000
##198B1C1.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)
#827529
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #198b1c;
/* rgb */ color: rgb(25, 139, 28);
/* oklch */ color: oklch(55.6% 0.174 143.0);
Tailwind
colors: {
  custom: {
    50: '#6dae61',
    500: '#198b1c',
    950: '#000000',
  },
}
SCSS
$custom: #198b1c;
$custom-light: #6dae61;
$custom-dark: #000000;
JSON
{
  "hex": "#198b1c",
  "rgb": {
    "r": 25,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 121.579,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55562,
    "c": 0.1745,
    "h": 143
  },
  "luminance": 0.18756
}

Semantic roles & 50–950 ramp

primary
#198B1C
secondary
#BE42BA
accent
#3BE8EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #198B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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