#198B1F#198B1F

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

Color values

HEX#198B1F
RGBrgb(25, 139, 31)
HSLhsl(123, 70%, 32%)
HSVhsv(123, 82%, 55%)
CMYKcmyk(82%, 0%, 77.7%, 45.5%)
CIE-LABlab(50.42, -51.18, 45.89)
CIE-LCHlch(50.42, 68.74, 138.12°)
OKLaboklab(55.58% -0.1386 0.1033)
OKLCHoklch(55.58% 0.173 143.3)
XYZxyz(9.8802, 18.7696, 4.3982)
Luminance0.1877 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198B1F #8B1985
analogous
#4C8B19 #198B1F #198B58
triadic
#198B1F #1F198B #8B1F19
tetradic
#198B1F #194C8B #8B1985 #8B5819
square
#198B1F #194C8B #8B1985 #8B5819
split-complementary
#198B1F #58198B #8B194C
monochromatic
#062308 #105713 #198B1F #22BF2B #41DD4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##198B1F#FFFFFF#000000##000000
##198B1F1.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)
#8E7D06
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #198b1f;
/* rgb */ color: rgb(25, 139, 31);
/* oklch */ color: oklch(55.6% 0.173 143.3);
Tailwind
colors: {
  custom: {
    50: '#6dae63',
    500: '#198b1f',
    950: '#000000',
  },
}
SCSS
$custom: #198b1f;
$custom-light: #6dae63;
$custom-dark: #000000;
JSON
{
  "hex": "#198b1f",
  "rgb": {
    "r": 25,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 123.158,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55582,
    "c": 0.17289,
    "h": 143.3
  },
  "luminance": 0.18771
}

Semantic roles & 50–950 ramp

primary
#198B1F
secondary
#BE42B7
accent
#3BE3EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #198B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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