#198C1C#198C1C

#198C1C is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.176 H 143.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#198C1C
RGBrgb(25, 140, 28)
HSLhsl(122, 70%, 32%)
HSVhsv(122, 82%, 55%)
CMYKcmyk(82.1%, 0%, 80%, 45.1%)
CIE-LABlab(50.74, -51.73, 47.24)
CIE-LCHlch(50.74, 70.05, 137.60°)
OKLaboklab(55.85% -0.1403 0.1057)
OKLCHoklch(55.85% 0.176 143)
XYZxyz(9.9879, 19.0455, 4.2481)
Luminance0.1905 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198C1C #8C1989
analogous
#508C19 #198C1C #198C55
triadic
#198C1C #1C198C #8C1C19
tetradic
#198C1C #19508C #8C1989 #8C5519
square
#198C1C #19508C #8C1989 #8C5519
split-complementary
#198C1C #55198C #8C1950
monochromatic
#062407 #105812 #198C1C #22C026 #42DD46

Accessibility & contrast

On white

4.37
#198C1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#198C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198C1C
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198C1C#FFFFFF#000000##000000
##198C1C1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#837629
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #198c1c;
/* rgb */ color: rgb(25, 140, 28);
/* oklch */ color: oklch(55.8% 0.176 143.0);
Tailwind
colors: {
  custom: {
    50: '#6daf62',
    500: '#198c1c',
    950: '#000000',
  },
}
SCSS
$custom: #198c1c;
$custom-light: #6daf62;
$custom-dark: #000000;
JSON
{
  "hex": "#198c1c",
  "rgb": {
    "r": 25,
    "g": 140,
    "b": 28
  },
  "hsl": {
    "h": 121.565,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55846,
    "c": 0.17562,
    "h": 143
  },
  "luminance": 0.19047
}

Semantic roles & 50–950 ramp

primary
#198C1C
secondary
#BE43BB
accent
#3BE8ED
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #198C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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