#198A2A#198A2A

#198A2A is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.4% C 0.165 H 144.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#198A2A
RGBrgb(25, 138, 42)
HSLhsl(129, 69%, 32%)
HSVhsv(129, 82%, 54%)
CMYKcmyk(81.9%, 0%, 69.6%, 45.9%)
CIE-LABlab(50.16, -49.85, 41.28)
CIE-LCHlch(50.16, 64.72, 140.38°)
OKLaboklab(55.39% -0.1345 0.0951)
OKLCHoklch(55.39% 0.165 144.8)
XYZxyz(9.9066, 18.5496, 5.2484)
Luminance0.1855 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198A2A #8A1979
analogous
#408A19 #198A2A #198A63
triadic
#198A2A #2A198A #8A2A19
tetradic
#198A2A #19408A #8A1979 #8A6319
square
#198A2A #19408A #8A1979 #8A6319
split-complementary
#198A2A #63198A #8A1940
monochromatic
#06220A #10561A #198A2A #22BE3A #41DD58

Accessibility & contrast

On white

4.46
#198A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#198A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198A2A
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198A2A#FFFFFF#000000##000000
##198A2A1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1D
Deuteranopia (green-blind)
#807433
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #198a2a;
/* rgb */ color: rgb(25, 138, 42);
/* oklch */ color: oklch(55.4% 0.165 144.8);
Tailwind
colors: {
  custom: {
    50: '#6cad69',
    500: '#198a2a',
    950: '#000000',
  },
}
SCSS
$custom: #198a2a;
$custom-light: #6cad69;
$custom-dark: #000000;
JSON
{
  "hex": "#198a2a",
  "rgb": {
    "r": 25,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 129.027,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55391,
    "c": 0.16473,
    "h": 144.8
  },
  "luminance": 0.18551
}

Semantic roles & 50–950 ramp

primary
#198A2A
secondary
#BD42AB
accent
#3CD2EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #198A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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