#198A2F#198A2F

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

Color values

HEX#198A2F
RGBrgb(25, 138, 47)
HSLhsl(132, 69%, 32%)
HSVhsv(132, 82%, 54%)
CMYKcmyk(81.9%, 0%, 65.9%, 45.9%)
CIE-LABlab(50.20, -49.29, 39.11)
CIE-LCHlch(50.20, 62.92, 141.57°)
OKLaboklab(55.44% -0.1328 0.091)
OKLCHoklch(55.44% 0.161 145.6)
XYZxyz(10.0017, 18.5877, 5.7494)
Luminance0.1859 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198A2F #8A1974
analogous
#3C8A19 #198A2F #198A67
triadic
#198A2F #2F198A #8A2F19
tetradic
#198A2F #193C8A #8A1974 #8A6719
square
#198A2F #193C8A #8A1974 #8A6719
split-complementary
#198A2F #67198A #8A193C
monochromatic
#06220C #10561D #198A2F #22BE41 #41DD5F

Accessibility & contrast

On white

4.45
#198A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#198A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198A2F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198A2F#FFFFFF#000000##000000
##198A2F1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D24
Deuteranopia (green-blind)
#807437
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #198a2f;
/* rgb */ color: rgb(25, 138, 47);
/* oklch */ color: oklch(55.4% 0.161 145.6);
Tailwind
colors: {
  custom: {
    50: '#6cad6b',
    500: '#198a2f',
    950: '#000000',
  },
}
SCSS
$custom: #198a2f;
$custom-light: #6cad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#198a2f",
  "rgb": {
    "r": 25,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 131.681,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55444,
    "c": 0.16103,
    "h": 145.6
  },
  "luminance": 0.18589
}

Semantic roles & 50–950 ramp

primary
#198A2F
secondary
#BD42A5
accent
#3CCAEC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #198A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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