#198F3C#198F3C

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

Color values

HEX#198F3C
RGBrgb(25, 143, 60)
HSLhsl(138, 70%, 33%)
HSVhsv(138, 83%, 56%)
CMYKcmyk(82.5%, 0%, 58%, 43.9%)
CIE-LABlab(52.04, -49.32, 35.00)
CIE-LCHlch(52.04, 60.48, 144.63°)
OKLaboklab(57.01% -0.1325 0.0834)
OKLCHoklch(57.01% 0.157 147.8)
XYZxyz(11.0381, 20.1765, 7.5868)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198F3C #8F196C
analogous
#318F19 #198F3C #198F77
triadic
#198F3C #3C198F #8F3C19
tetradic
#198F3C #19318F #8F196C #8F7719
square
#198F3C #19318F #8F196C #8F7719
split-complementary
#198F3C #77198F #8F1931
monochromatic
#072710 #105B26 #198F3C #22C352 #44DE72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##198F3C#FFFFFF#000000##000000
##198F3C1.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)
#918234
Deuteranopia (green-blind)
#847943
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #198f3c;
/* rgb */ color: rgb(25, 143, 60);
/* oklch */ color: oklch(57.0% 0.157 147.8);
Tailwind
colors: {
  custom: {
    50: '#6cb174',
    500: '#198f3c',
    950: '#000000',
  },
}
SCSS
$custom: #198f3c;
$custom-light: #6cb174;
$custom-dark: #000000;
JSON
{
  "hex": "#198f3c",
  "rgb": {
    "r": 25,
    "g": 143,
    "b": 60
  },
  "hsl": {
    "h": 137.797,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57012,
    "c": 0.15652,
    "h": 147.8
  },
  "luminance": 0.20178
}

Semantic roles & 50–950 ramp

primary
#198F3C
secondary
#BF449B
accent
#3BB8ED
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #198F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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