#198D2F#198D2F

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

Color values

HEX#198D2F
RGBrgb(25, 141, 47)
HSLhsl(131, 70%, 33%)
HSVhsv(131, 82%, 55%)
CMYKcmyk(82.3%, 0%, 66.7%, 44.7%)
CIE-LABlab(51.22, -50.31, 40.24)
CIE-LCHlch(51.22, 64.42, 141.35°)
OKLaboklab(56.29% -0.1356 0.0934)
OKLCHoklch(56.29% 0.165 145.4)
XYZxyz(10.4381, 19.4604, 5.8949)
Luminance0.1946 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198D2F #8D1977
analogous
#3D8D19 #198D2F #198D69
triadic
#198D2F #2F198D #8D2F19
tetradic
#198D2F #193D8D #8D1977 #8D6919
square
#198D2F #193D8D #8D1977 #8D6919
split-complementary
#198D2F #69198D #8D193D
monochromatic
#07250C #10591E #198D2F #22C140 #43DE60

Accessibility & contrast

On white

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

On black

4.89
#198D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198D2F
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198D2F#FFFFFF#000000##000000
##198D2F1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F23
Deuteranopia (green-blind)
#837737
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #198d2f;
/* rgb */ color: rgb(25, 141, 47);
/* oklch */ color: oklch(56.3% 0.165 145.4);
Tailwind
colors: {
  custom: {
    50: '#6daf6c',
    500: '#198d2f',
    950: '#000000',
  },
}
SCSS
$custom: #198d2f;
$custom-light: #6daf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#198d2f",
  "rgb": {
    "r": 25,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 131.379,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56291,
    "c": 0.16465,
    "h": 145.4
  },
  "luminance": 0.19462
}

Semantic roles & 50–950 ramp

primary
#198D2F
secondary
#BF43A7
accent
#3BCBED
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081107
muted
#7B807A

Preview Lab

Preview with #198D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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