#198F1F#198F1F

#198F1F is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.7% C 0.177 H 143.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#198F1F
RGBrgb(25, 143, 31)
HSLhsl(123, 70%, 33%)
HSVhsv(123, 83%, 56%)
CMYKcmyk(82.5%, 0%, 78.3%, 43.9%)
CIE-LABlab(51.78, -52.47, 47.23)
CIE-LCHlch(51.78, 70.60, 138.01°)
OKLaboklab(56.72% -0.1421 0.1061)
OKLCHoklch(56.72% 0.177 143.3)
XYZxyz(10.4700, 19.9492, 4.5948)
Luminance0.1995 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198F1F #8F1989
analogous
#4E8F19 #198F1F #198F5A
triadic
#198F1F #1F198F #8F1F19
tetradic
#198F1F #194E8F #8F1989 #8F5A19
square
#198F1F #194E8F #8F1989 #8F5A19
split-complementary
#198F1F #5A198F #8F194E
monochromatic
#072708 #105B14 #198F1F #22C32A #44DE4C

Accessibility & contrast

On white

4.21
#198F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#198F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198F1F
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198F1F#FFFFFF#000000##000000
##198F1F1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928104
Deuteranopia (green-blind)
#86782C
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #198f1f;
/* rgb */ color: rgb(25, 143, 31);
/* oklch */ color: oklch(56.7% 0.177 143.3);
Tailwind
colors: {
  custom: {
    50: '#6eb163',
    500: '#198f1f',
    950: '#000000',
  },
}
SCSS
$custom: #198f1f;
$custom-light: #6eb163;
$custom-dark: #000000;
JSON
{
  "hex": "#198f1f",
  "rgb": {
    "r": 25,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 123.051,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56717,
    "c": 0.17737,
    "h": 143.3
  },
  "luminance": 0.19951
}

Semantic roles & 50–950 ramp

primary
#198F1F
secondary
#BF44B9
accent
#3BE4ED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #198F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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