#198C1F#198C1F

#198C1F is a mid, vivid green. Relative luminance 0.191; OKLCH L 55.9% C 0.174 H 143.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#198C1F
RGBrgb(25, 140, 31)
HSLhsl(123, 70%, 32%)
HSVhsv(123, 82%, 55%)
CMYKcmyk(82.1%, 0%, 77.9%, 45.1%)
CIE-LABlab(50.76, -51.51, 46.23)
CIE-LCHlch(50.76, 69.21, 138.09°)
OKLaboklab(55.87% -0.1395 0.104)
OKLCHoklch(55.87% 0.174 143.3)
XYZxyz(10.0257, 19.0606, 4.4467)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198C1F #8C1986
analogous
#4D8C19 #198C1F #198C58
triadic
#198C1F #1F198C #8C1F19
tetradic
#198C1F #194D8C #8C1986 #8C5819
square
#198C1F #194D8C #8C1986 #8C5819
split-complementary
#198C1F #58198C #8C194D
monochromatic
#062408 #105814 #198C1F #22C02A #42DD4A

Accessibility & contrast

On white

4.36
#198C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##198C1F#FFFFFF#000000##000000
##198C1F1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #198c1f;
/* rgb */ color: rgb(25, 140, 31);
/* oklch */ color: oklch(55.9% 0.174 143.3);
Tailwind
colors: {
  custom: {
    50: '#6daf63',
    500: '#198c1f',
    950: '#000000',
  },
}
SCSS
$custom: #198c1f;
$custom-light: #6daf63;
$custom-dark: #000000;
JSON
{
  "hex": "#198c1f",
  "rgb": {
    "r": 25,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 123.13,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55866,
    "c": 0.17401,
    "h": 143.3
  },
  "luminance": 0.19062
}

Semantic roles & 50–950 ramp

primary
#198C1F
secondary
#BE43B8
accent
#3BE3ED
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #198C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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