#198F3F#198F3F

#198F3F is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.154 H 148.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#198F3F
RGBrgb(25, 143, 63)
HSLhsl(139, 70%, 33%)
HSVhsv(139, 83%, 56%)
CMYKcmyk(82.5%, 0%, 55.9%, 43.9%)
CIE-LABlab(52.07, -48.87, 33.54)
CIE-LCHlch(52.07, 59.28, 145.54°)
OKLaboklab(57.05% -0.1312 0.0804)
OKLCHoklch(57.05% 0.154 148.5)
XYZxyz(11.1197, 20.2091, 8.0164)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198F3F #8F1969
analogous
#2E8F19 #198F3F #198F7A
triadic
#198F3F #3F198F #8F3F19
tetradic
#198F3F #192E8F #8F1969 #8F7A19
square
#198F3F #192E8F #8F1969 #8F7A19
split-complementary
#198F3F #7A198F #8F192E
monochromatic
#072711 #105B28 #198F3F #22C356 #44DE76

Accessibility & contrast

On white

4.17
#198F3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#198F3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198F3F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198F3F#FFFFFF#000000##000000
##198F3F1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908238
Deuteranopia (green-blind)
#837945
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #198f3f;
/* rgb */ color: rgb(25, 143, 63);
/* oklch */ color: oklch(57.1% 0.154 148.5);
Tailwind
colors: {
  custom: {
    50: '#6cb176',
    500: '#198f3f',
    950: '#000000',
  },
}
SCSS
$custom: #198f3f;
$custom-light: #6cb176;
$custom-dark: #000000;
JSON
{
  "hex": "#198f3f",
  "rgb": {
    "r": 25,
    "g": 143,
    "b": 63
  },
  "hsl": {
    "h": 139.322,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57054,
    "c": 0.15389,
    "h": 148.5
  },
  "luminance": 0.2021
}

Semantic roles & 50–950 ramp

primary
#198F3F
secondary
#BF4498
accent
#3BB4ED
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #198F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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