#198C2F#198C2F

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

Color values

HEX#198C2F
RGBrgb(25, 140, 47)
HSLhsl(131, 70%, 32%)
HSVhsv(131, 82%, 55%)
CMYKcmyk(82.1%, 0%, 66.4%, 45.1%)
CIE-LABlab(50.88, -49.97, 39.86)
CIE-LCHlch(50.88, 63.92, 141.42°)
OKLaboklab(56.01% -0.1347 0.0926)
OKLCHoklch(56.01% 0.163 145.5)
XYZxyz(10.2913, 19.1668, 5.8460)
Luminance0.1917 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198C2F #8C1976
analogous
#3D8C19 #198C2F #198C68
triadic
#198C2F #2F198C #8C2F19
tetradic
#198C2F #193D8C #8C1976 #8C6819
square
#198C2F #193D8C #8C1976 #8C6819
split-complementary
#198C2F #68198C #8C193D
monochromatic
#06240C #10581E #198C2F #22C040 #42DD60

Accessibility & contrast

On white

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

On black

4.83
#198C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198C2F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198C2F#FFFFFF#000000##000000
##198C2F1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #198c2f;
/* rgb */ color: rgb(25, 140, 47);
/* oklch */ color: oklch(56.0% 0.163 145.5);
Tailwind
colors: {
  custom: {
    50: '#6caf6c',
    500: '#198c2f',
    950: '#000000',
  },
}
SCSS
$custom: #198c2f;
$custom-light: #6caf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#198c2f",
  "rgb": {
    "r": 25,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 131.478,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56009,
    "c": 0.16345,
    "h": 145.5
  },
  "luminance": 0.19168
}

Semantic roles & 50–950 ramp

primary
#198C2F
secondary
#BE43A7
accent
#3BCBED
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #198C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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