#198B31#198B31

#198B31 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.7% C 0.161 H 145.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#198B31
RGBrgb(25, 139, 49)
HSLhsl(133, 70%, 32%)
HSVhsv(133, 82%, 55%)
CMYKcmyk(82%, 0%, 64.7%, 45.5%)
CIE-LABlab(50.56, -49.40, 38.59)
CIE-LCHlch(50.56, 62.68, 142.00°)
OKLaboklab(55.75% -0.133 0.0901)
OKLCHoklch(55.75% 0.161 145.9)
XYZxyz(10.1871, 18.8924, 6.0148)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198B31 #8B1973
analogous
#3A8B19 #198B31 #198B6A
triadic
#198B31 #31198B #8B3119
tetradic
#198B31 #193A8B #8B1973 #8B6A19
square
#198B31 #193A8B #8B1973 #8B6A19
split-complementary
#198B31 #6A198B #8B193A
monochromatic
#06230C #10571F #198B31 #22BF43 #41DD62

Accessibility & contrast

On white

4.39
#198B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#198B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198B31
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198B31#FFFFFF#000000##000000
##198B311.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E27
Deuteranopia (green-blind)
#817539
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #198b31;
/* rgb */ color: rgb(25, 139, 49);
/* oklch */ color: oklch(55.7% 0.161 145.9);
Tailwind
colors: {
  custom: {
    50: '#6cae6d',
    500: '#198b31',
    950: '#000000',
  },
}
SCSS
$custom: #198b31;
$custom-light: #6cae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#198b31",
  "rgb": {
    "r": 25,
    "g": 139,
    "b": 49
  },
  "hsl": {
    "h": 132.632,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55749,
    "c": 0.16068,
    "h": 145.9
  },
  "luminance": 0.18894
}

Semantic roles & 50–950 ramp

primary
#198B31
secondary
#BE42A4
accent
#3BC7EC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #198B31

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

Preview Lab → · Contrast checker → · Palette generator →

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