#198542#198542

#198542 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.138 H 150.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#198542
RGBrgb(25, 133, 66)
HSLhsl(143, 68%, 31%)
HSVhsv(143, 81%, 52%)
CMYKcmyk(81.2%, 0%, 50.4%, 47.8%)
CIE-LABlab(48.73, -44.77, 27.86)
CIE-LCHlch(48.73, 52.73, 148.11°)
OKLaboklab(54.3% -0.1202 0.0678)
OKLCHoklch(54.3% 0.138 150.6)
XYZxyz(9.7710, 17.3739, 7.9917)
Luminance0.1737 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198542 #85195C
analogous
#268519 #198542 #198578
triadic
#198542 #421985 #854219
tetradic
#198542 #192685 #85195C #857819
square
#198542 #192685 #85195C #857819
split-complementary
#198542 #781985 #851926
monochromatic
#061E0F #0F5128 #198542 #23B95C #3EDB79

Accessibility & contrast

On white

4.69
#198542 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#198542 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198542
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198542#FFFFFF#000000##FFFFFF
##1985421.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793D
Deuteranopia (green-blind)
#7A7047
Tritanopia (blue-blind)
#008375
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #198542;
/* rgb */ color: rgb(25, 133, 66);
/* oklch */ color: oklch(54.3% 0.138 150.6);
Tailwind
colors: {
  custom: {
    50: '#6aa977',
    500: '#198542',
    950: '#000000',
  },
}
SCSS
$custom: #198542;
$custom-light: #6aa977;
$custom-dark: #000000;
JSON
{
  "hex": "#198542",
  "rgb": {
    "r": 25,
    "g": 133,
    "b": 66
  },
  "hsl": {
    "h": 142.778,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54295,
    "c": 0.13805,
    "h": 150.6
  },
  "luminance": 0.17375
}

Semantic roles & 50–950 ramp

primary
#198542
secondary
#B9418B
accent
#3DA9EB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#071009
muted
#7A7F7B

Preview Lab

Preview with #198542

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

Preview Lab → · Contrast checker → · Palette generator →

#198542 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva