#198B2A#198B2A

#198B2A is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.166 H 144.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#198B2A
RGBrgb(25, 139, 42)
HSLhsl(129, 70%, 32%)
HSVhsv(129, 82%, 55%)
CMYKcmyk(82%, 0%, 69.8%, 45.5%)
CIE-LABlab(50.50, -50.18, 41.64)
CIE-LCHlch(50.50, 65.21, 140.31°)
OKLaboklab(55.68% -0.1354 0.0958)
OKLCHoklch(55.68% 0.166 144.7)
XYZxyz(10.0507, 18.8379, 5.2964)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198B2A #8B197A
analogous
#418B19 #198B2A #198B63
triadic
#198B2A #2A198B #8B2A19
tetradic
#198B2A #19418B #8B197A #8B6319
square
#198B2A #19418B #8B197A #8B6319
split-complementary
#198B2A #63198B #8B1941
monochromatic
#06230B #10571A #198B2A #22BF3A #41DD59

Accessibility & contrast

On white

4.40
#198B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#198B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198B2A
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198B2A#FFFFFF#000000##000000
##198B2A1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D1C
Deuteranopia (green-blind)
#817533
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #198b2a;
/* rgb */ color: rgb(25, 139, 42);
/* oklch */ color: oklch(55.7% 0.166 144.7);
Tailwind
colors: {
  custom: {
    50: '#6cae69',
    500: '#198b2a',
    950: '#000000',
  },
}
SCSS
$custom: #198b2a;
$custom-light: #6cae69;
$custom-dark: #000000;
JSON
{
  "hex": "#198b2a",
  "rgb": {
    "r": 25,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 128.947,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55675,
    "c": 0.16592,
    "h": 144.7
  },
  "luminance": 0.18839
}

Semantic roles & 50–950 ramp

primary
#198B2A
secondary
#BE42AB
accent
#3BD2EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #198B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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