#198C2C#198C2C

#198C2C is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.166 H 145.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#198C2C
RGBrgb(25, 140, 44)
HSLhsl(130, 70%, 32%)
HSVhsv(130, 82%, 55%)
CMYKcmyk(82.1%, 0%, 68.6%, 45.1%)
CIE-LABlab(50.85, -50.31, 41.16)
CIE-LCHlch(50.85, 65.00, 140.71°)
OKLaboklab(55.98% -0.1357 0.0951)
OKLCHoklch(55.98% 0.166 145)
XYZxyz(10.2329, 19.1434, 5.5381)
Luminance0.1915 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198C2C #8C1979
analogous
#408C19 #198C2C #198C66
triadic
#198C2C #2C198C #8C2C19
tetradic
#198C2C #19408C #8C1979 #8C6619
square
#198C2C #19408C #8C1979 #8C6619
split-complementary
#198C2C #66198C #8C1940
monochromatic
#06240B #10581C #198C2C #22C03C #42DD5C

Accessibility & contrast

On white

4.35
#198C2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#198C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198C2C
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198C2C#FFFFFF#000000##000000
##198C2C1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1F
Deuteranopia (green-blind)
#827635
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #198c2c;
/* rgb */ color: rgb(25, 140, 44);
/* oklch */ color: oklch(56.0% 0.166 145.0);
Tailwind
colors: {
  custom: {
    50: '#6caf6a',
    500: '#198c2c',
    950: '#000000',
  },
}
SCSS
$custom: #198c2c;
$custom-light: #6caf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#198c2c",
  "rgb": {
    "r": 25,
    "g": 140,
    "b": 44
  },
  "hsl": {
    "h": 129.913,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55978,
    "c": 0.16567,
    "h": 145
  },
  "luminance": 0.19145
}

Semantic roles & 50–950 ramp

primary
#198C2C
secondary
#BE43AA
accent
#3BCFED
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #198C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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