#198740#198740

#198740 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.143 H 149.7°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#198740
RGBrgb(25, 135, 64)
HSLhsl(141, 69%, 31%)
HSVhsv(141, 81%, 53%)
CMYKcmyk(81.5%, 0%, 52.6%, 47.1%)
CIE-LABlab(49.38, -45.85, 29.73)
CIE-LCHlch(49.38, 54.65, 147.03°)
OKLaboklab(54.83% -0.1231 0.072)
OKLCHoklch(54.83% 0.143 149.7)
XYZxyz(9.9894, 17.9036, 7.7787)
Luminance0.1790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198740 #871960
analogous
#298719 #198740 #198777
triadic
#198740 #401987 #874019
tetradic
#198740 #192987 #871960 #877719
square
#198740 #192987 #871960 #877719
split-complementary
#198740 #771987 #871929
monochromatic
#06200F #0F5328 #198740 #23BB58 #3FDB76

Accessibility & contrast

On white

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

On black

4.58
#198740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198740
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198740#FFFFFF#000000##000000
##1987401.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3A
Deuteranopia (green-blind)
#7C7245
Tritanopia (blue-blind)
#008477
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #198740;
/* rgb */ color: rgb(25, 135, 64);
/* oklch */ color: oklch(54.8% 0.143 149.7);
Tailwind
colors: {
  custom: {
    50: '#6aab76',
    500: '#198740',
    950: '#000000',
  },
}
SCSS
$custom: #198740;
$custom-light: #6aab76;
$custom-dark: #000000;
JSON
{
  "hex": "#198740",
  "rgb": {
    "r": 25,
    "g": 135,
    "b": 64
  },
  "hsl": {
    "h": 141.273,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54825,
    "c": 0.14259,
    "h": 149.7
  },
  "luminance": 0.17905
}

Semantic roles & 50–950 ramp

primary
#198740
secondary
#BA4190
accent
#3CADEC
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #198740

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

Preview Lab → · Contrast checker → · Palette generator →

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