#198D31#198D31

#198D31 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.163 H 145.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#198D31
RGBrgb(25, 141, 49)
HSLhsl(132, 70%, 33%)
HSVhsv(132, 82%, 55%)
CMYKcmyk(82.3%, 0%, 65.2%, 44.7%)
CIE-LABlab(51.24, -50.07, 39.35)
CIE-LCHlch(51.24, 63.69, 141.84°)
OKLaboklab(56.31% -0.1349 0.0918)
OKLCHoklch(56.31% 0.163 145.8)
XYZxyz(10.4794, 19.4769, 6.1123)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198D31 #8D1975
analogous
#3B8D19 #198D31 #198D6B
triadic
#198D31 #31198D #8D3119
tetradic
#198D31 #193B8D #8D1975 #8D6B19
square
#198D31 #193B8D #8D1975 #8D6B19
split-complementary
#198D31 #6B198D #8D193B
monochromatic
#07250D #10591F #198D31 #22C143 #43DE63

Accessibility & contrast

On white

4.29
#198D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#198D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198D31
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198D31#FFFFFF#000000##000000
##198D311.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F26
Deuteranopia (green-blind)
#837739
Tritanopia (blue-blind)
#00897A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #198d31;
/* rgb */ color: rgb(25, 141, 49);
/* oklch */ color: oklch(56.3% 0.163 145.8);
Tailwind
colors: {
  custom: {
    50: '#6caf6d',
    500: '#198d31',
    950: '#000000',
  },
}
SCSS
$custom: #198d31;
$custom-light: #6caf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#198d31",
  "rgb": {
    "r": 25,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 132.414,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56313,
    "c": 0.16312,
    "h": 145.8
  },
  "luminance": 0.19478
}

Semantic roles & 50–950 ramp

primary
#198D31
secondary
#BF43A5
accent
#3BC8ED
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#081107
muted
#7B807A

Preview Lab

Preview with #198D31

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

Preview Lab → · Contrast checker → · Palette generator →

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