#198A31#198A31

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

Color values

HEX#198A31
RGBrgb(25, 138, 49)
HSLhsl(133, 69%, 32%)
HSVhsv(133, 82%, 54%)
CMYKcmyk(81.9%, 0%, 64.5%, 45.9%)
CIE-LABlab(50.22, -49.05, 38.21)
CIE-LCHlch(50.22, 62.18, 142.09°)
OKLaboklab(55.47% -0.1321 0.0893)
OKLCHoklch(55.47% 0.159 145.9)
XYZxyz(10.0430, 18.6042, 5.9668)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198A31 #8A1972
analogous
#3A8A19 #198A31 #198A69
triadic
#198A31 #31198A #8A3119
tetradic
#198A31 #193A8A #8A1972 #8A6919
square
#198A31 #193A8A #8A1972 #8A6919
split-complementary
#198A31 #69198A #8A193A
monochromatic
#06220C #10561F #198A31 #22BE43 #41DD62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##198A31#FFFFFF#000000##000000
##198A311.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)
#8C7D27
Deuteranopia (green-blind)
#807439
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #198a31;
/* rgb */ color: rgb(25, 138, 49);
/* oklch */ color: oklch(55.5% 0.159 145.9);
Tailwind
colors: {
  custom: {
    50: '#6cad6d',
    500: '#198a31',
    950: '#000000',
  },
}
SCSS
$custom: #198a31;
$custom-light: #6cad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#198a31",
  "rgb": {
    "r": 25,
    "g": 138,
    "b": 49
  },
  "hsl": {
    "h": 132.743,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55466,
    "c": 0.15946,
    "h": 145.9
  },
  "luminance": 0.18605
}

Semantic roles & 50–950 ramp

primary
#198A31
secondary
#BD42A3
accent
#3CC7EC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #198A31

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

Preview Lab → · Contrast checker → · Palette generator →

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