#198F1C#198F1C

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

Color values

HEX#198F1C
RGBrgb(25, 143, 28)
HSLhsl(122, 70%, 33%)
HSVhsv(122, 83%, 56%)
CMYKcmyk(82.5%, 0%, 80.4%, 43.9%)
CIE-LABlab(51.76, -52.68, 48.22)
CIE-LCHlch(51.76, 71.42, 137.53°)
OKLaboklab(56.7% -0.1429 0.1077)
OKLCHoklch(56.7% 0.179 143)
XYZxyz(10.4323, 19.9342, 4.3962)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198F1C #8F198C
analogous
#518F19 #198F1C #198F57
triadic
#198F1C #1C198F #8F1C19
tetradic
#198F1C #19518F #8F198C #8F5719
square
#198F1C #19518F #8F198C #8F5719
split-complementary
#198F1C #57198F #8F1951
monochromatic
#072708 #105B12 #198F1C #22C326 #44DE48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##198F1C#FFFFFF#000000##000000
##198F1C1.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)
#928100
Deuteranopia (green-blind)
#86782A
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #198f1c;
/* rgb */ color: rgb(25, 143, 28);
/* oklch */ color: oklch(56.7% 0.179 143.0);
Tailwind
colors: {
  custom: {
    50: '#6eb162',
    500: '#198f1c',
    950: '#000000',
  },
}
SCSS
$custom: #198f1c;
$custom-light: #6eb162;
$custom-dark: #000000;
JSON
{
  "hex": "#198f1c",
  "rgb": {
    "r": 25,
    "g": 143,
    "b": 28
  },
  "hsl": {
    "h": 121.525,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56697,
    "c": 0.17893,
    "h": 143
  },
  "luminance": 0.19935
}

Semantic roles & 50–950 ramp

primary
#198F1C
secondary
#BF44BC
accent
#3BE8ED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #198F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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