#198742#198742

#198742 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.141 H 150.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#198742
RGBrgb(25, 135, 66)
HSLhsl(142, 69%, 31%)
HSVhsv(142, 81%, 53%)
CMYKcmyk(81.5%, 0%, 51.1%, 47.1%)
CIE-LABlab(49.41, -45.51, 28.71)
CIE-LCHlch(49.41, 53.81, 147.75°)
OKLaboklab(54.86% -0.1222 0.0698)
OKLCHoklch(54.86% 0.141 150.3)
XYZxyz(10.0474, 17.9267, 8.0839)
Luminance0.1793 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198742 #87195E
analogous
#278719 #198742 #198779
triadic
#198742 #421987 #874219
tetradic
#198742 #192787 #87195E #877919
square
#198742 #192787 #87195E #877919
split-complementary
#198742 #791987 #871927
monochromatic
#062010 #0F5329 #198742 #23BB5B #3FDB79

Accessibility & contrast

On white

4.58
#198742 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#198742 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198742
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198742#FFFFFF#000000##000000
##1987421.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3C
Deuteranopia (green-blind)
#7B7247
Tritanopia (blue-blind)
#008577
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #198742;
/* rgb */ color: rgb(25, 135, 66);
/* oklch */ color: oklch(54.9% 0.141 150.3);
Tailwind
colors: {
  custom: {
    50: '#6aab78',
    500: '#198742',
    950: '#000000',
  },
}
SCSS
$custom: #198742;
$custom-light: #6aab78;
$custom-dark: #000000;
JSON
{
  "hex": "#198742",
  "rgb": {
    "r": 25,
    "g": 135,
    "b": 66
  },
  "hsl": {
    "h": 142.364,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54858,
    "c": 0.14071,
    "h": 150.3
  },
  "luminance": 0.17928
}

Semantic roles & 50–950 ramp

primary
#198742
secondary
#BA418D
accent
#3CAAEC
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #198742

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

Preview Lab → · Contrast checker → · Palette generator →

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