#198B1A#198B1A

#198B1A is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.5% C 0.175 H 142.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#198B1A
RGBrgb(25, 139, 26)
HSLhsl(121, 70%, 32%)
HSVhsv(121, 82%, 55%)
CMYKcmyk(82%, 0%, 81.3%, 45.5%)
CIE-LABlab(50.39, -51.54, 47.55)
CIE-LCHlch(50.39, 70.12, 137.31°)
OKLaboklab(55.55% -0.1398 0.106)
OKLCHoklch(55.55% 0.176 142.8)
XYZxyz(9.8193, 18.7453, 4.0778)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198B1A #8B198A
analogous
#518B19 #198B1A #198B53
triadic
#198B1A #1A198B #8B1A19
tetradic
#198B1A #19518B #8B198A #8B5319
square
#198B1A #19518B #8B198A #8B5319
split-complementary
#198B1A #53198B #8B1951
monochromatic
#062307 #105710 #198B1A #22BF24 #41DD43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##198B1A#FFFFFF#000000##000000
##198B1A1.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)
#8E7D00
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #198b1a;
/* rgb */ color: rgb(25, 139, 26);
/* oklch */ color: oklch(55.5% 0.175 142.8);
Tailwind
colors: {
  custom: {
    50: '#6dae61',
    500: '#198b1a',
    950: '#000000',
  },
}
SCSS
$custom: #198b1a;
$custom-light: #6dae61;
$custom-dark: #000000;
JSON
{
  "hex": "#198b1a",
  "rgb": {
    "r": 25,
    "g": 139,
    "b": 26
  },
  "hsl": {
    "h": 120.526,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55549,
    "c": 0.1755,
    "h": 142.8
  },
  "luminance": 0.18746
}

Semantic roles & 50–950 ramp

primary
#198B1A
secondary
#BE42BD
accent
#3BEBEC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #198B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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