#198E40#198E40

#198E40 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.152 H 148.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#198E40
RGBrgb(25, 142, 64)
HSLhsl(140, 70%, 33%)
HSVhsv(140, 82%, 56%)
CMYKcmyk(82.4%, 0%, 54.9%, 44.3%)
CIE-LABlab(51.75, -48.37, 32.64)
CIE-LCHlch(51.75, 58.35, 145.99°)
OKLaboklab(56.79% -0.1299 0.0784)
OKLCHoklch(56.79% 0.152 148.9)
XYZxyz(10.9984, 19.9215, 8.1151)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198E40 #8E1967
analogous
#2C8E19 #198E40 #198E7A
triadic
#198E40 #40198E #8E4019
tetradic
#198E40 #192C8E #8E1967 #8E7A19
square
#198E40 #192C8E #8E1967 #8E7A19
split-complementary
#198E40 #7A198E #8E192C
monochromatic
#072611 #105A29 #198E40 #22C257 #43DE77

Accessibility & contrast

On white

4.21
#198E40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#198E40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198E40
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198E40#FFFFFF#000000##000000
##198E401.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8139
Deuteranopia (green-blind)
#827846
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #198e40;
/* rgb */ color: rgb(25, 142, 64);
/* oklch */ color: oklch(56.8% 0.152 148.9);
Tailwind
colors: {
  custom: {
    50: '#6cb077',
    500: '#198e40',
    950: '#000000',
  },
}
SCSS
$custom: #198e40;
$custom-light: #6cb077;
$custom-dark: #000000;
JSON
{
  "hex": "#198e40",
  "rgb": {
    "r": 25,
    "g": 142,
    "b": 64
  },
  "hsl": {
    "h": 140,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56789,
    "c": 0.15171,
    "h": 148.9
  },
  "luminance": 0.19923
}

Semantic roles & 50–950 ramp

primary
#198E40
secondary
#BF4496
accent
#3BB2ED
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081109
muted
#7B807B

Preview Lab

Preview with #198E40

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

Preview Lab → · Contrast checker → · Palette generator →

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