#198C31#198C31

#198C31 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.0% C 0.162 H 145.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#198C31
RGBrgb(25, 140, 49)
HSLhsl(133, 70%, 32%)
HSVhsv(133, 82%, 55%)
CMYKcmyk(82.1%, 0%, 65%, 45.1%)
CIE-LABlab(50.90, -49.74, 38.97)
CIE-LCHlch(50.90, 63.19, 141.92°)
OKLaboklab(56.03% -0.1339 0.091)
OKLCHoklch(56.03% 0.162 145.8)
XYZxyz(10.3326, 19.1833, 6.0633)
Luminance0.1918 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198C31 #8C1974
analogous
#3A8C19 #198C31 #198C6B
triadic
#198C31 #31198C #8C3119
tetradic
#198C31 #193A8C #8C1974 #8C6B19
square
#198C31 #193A8C #8C1974 #8C6B19
split-complementary
#198C31 #6B198C #8C193A
monochromatic
#06240D #10581F #198C31 #22C043 #42DD63

Accessibility & contrast

On white

4.34
#198C31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#198C31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198C31
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198C31#FFFFFF#000000##000000
##198C311.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E26
Deuteranopia (green-blind)
#827639
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #198c31;
/* rgb */ color: rgb(25, 140, 49);
/* oklch */ color: oklch(56.0% 0.162 145.8);
Tailwind
colors: {
  custom: {
    50: '#6caf6d',
    500: '#198c31',
    950: '#000000',
  },
}
SCSS
$custom: #198c31;
$custom-light: #6caf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#198c31",
  "rgb": {
    "r": 25,
    "g": 140,
    "b": 49
  },
  "hsl": {
    "h": 132.522,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56031,
    "c": 0.16191,
    "h": 145.8
  },
  "luminance": 0.19185
}

Semantic roles & 50–950 ramp

primary
#198C31
secondary
#BE43A4
accent
#3BC8ED
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #198C31

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

Preview Lab → · Contrast checker → · Palette generator →

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