#198F42#198F42

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

Color values

HEX#198F42
RGBrgb(25, 143, 66)
HSLhsl(141, 70%, 33%)
HSVhsv(141, 83%, 56%)
CMYKcmyk(82.5%, 0%, 53.8%, 43.9%)
CIE-LABlab(52.11, -48.41, 32.06)
CIE-LCHlch(52.11, 58.06, 146.49°)
OKLaboklab(57.1% -0.1299 0.0773)
OKLCHoklch(57.1% 0.151 149.3)
XYZxyz(11.2058, 20.2436, 8.4700)
Luminance0.2024 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198F42 #8F1966
analogous
#2B8F19 #198F42 #198F7D
triadic
#198F42 #42198F #8F4219
tetradic
#198F42 #192B8F #8F1966 #8F7D19
square
#198F42 #192B8F #8F1966 #8F7D19
split-complementary
#198F42 #7D198F #8F192B
monochromatic
#072712 #105B2A #198F42 #22C35A #44DE7A

Accessibility & contrast

On white

4.16
#198F42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#198F42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198F42
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198F42#FFFFFF#000000##000000
##198F421.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90823B
Deuteranopia (green-blind)
#837948
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #198f42;
/* rgb */ color: rgb(25, 143, 66);
/* oklch */ color: oklch(57.1% 0.151 149.3);
Tailwind
colors: {
  custom: {
    50: '#6cb178',
    500: '#198f42',
    950: '#000000',
  },
}
SCSS
$custom: #198f42;
$custom-light: #6cb178;
$custom-dark: #000000;
JSON
{
  "hex": "#198f42",
  "rgb": {
    "r": 25,
    "g": 143,
    "b": 66
  },
  "hsl": {
    "h": 140.847,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57099,
    "c": 0.15118,
    "h": 149.3
  },
  "luminance": 0.20245
}

Semantic roles & 50–950 ramp

primary
#198F42
secondary
#BF4495
accent
#3BAFED
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081109
muted
#7B807B

Preview Lab

Preview with #198F42

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

Preview Lab → · Contrast checker → · Palette generator →

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