#198F31#198F31

#198F31 is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.166 H 145.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#198F31
RGBrgb(25, 143, 49)
HSLhsl(132, 70%, 33%)
HSVhsv(132, 83%, 56%)
CMYKcmyk(82.5%, 0%, 65.7%, 43.9%)
CIE-LABlab(51.92, -50.75, 40.11)
CIE-LCHlch(51.92, 64.69, 141.68°)
OKLaboklab(56.88% -0.1367 0.0934)
OKLCHoklch(56.88% 0.166 145.7)
XYZxyz(10.7769, 20.0720, 6.2114)
Luminance0.2007 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198F31 #8F1977
analogous
#3C8F19 #198F31 #198F6C
triadic
#198F31 #31198F #8F3119
tetradic
#198F31 #193C8F #8F1977 #8F6C19
square
#198F31 #193C8F #8F1977 #8F6C19
split-complementary
#198F31 #6C198F #8F193C
monochromatic
#07270D #105B1F #198F31 #22C343 #44DE63

Accessibility & contrast

On white

4.19
#198F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#198F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198F31
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198F31#FFFFFF#000000##000000
##198F311.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918126
Deuteranopia (green-blind)
#857839
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #198f31;
/* rgb */ color: rgb(25, 143, 49);
/* oklch */ color: oklch(56.9% 0.166 145.7);
Tailwind
colors: {
  custom: {
    50: '#6db16d',
    500: '#198f31',
    950: '#000000',
  },
}
SCSS
$custom: #198f31;
$custom-light: #6db16d;
$custom-dark: #000000;
JSON
{
  "hex": "#198f31",
  "rgb": {
    "r": 25,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 132.203,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56876,
    "c": 0.16555,
    "h": 145.7
  },
  "luminance": 0.20073
}

Semantic roles & 50–950 ramp

primary
#198F31
secondary
#BF44A6
accent
#3BC9ED
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A

Preview Lab

Preview with #198F31

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

Preview Lab → · Contrast checker → · Palette generator →

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