#198D40#198D40

#198D40 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.150 H 149.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#198D40
RGBrgb(25, 141, 64)
HSLhsl(140, 70%, 33%)
HSVhsv(140, 82%, 55%)
CMYKcmyk(82.3%, 0%, 54.6%, 44.7%)
CIE-LABlab(51.41, -48.01, 32.23)
CIE-LCHlch(51.41, 57.83, 146.13°)
OKLaboklab(56.51% -0.1289 0.0775)
OKLCHoklch(56.51% 0.15 149)
XYZxyz(10.8503, 19.6253, 8.0657)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198D40 #8D1966
analogous
#2C8D19 #198D40 #198D7A
triadic
#198D40 #40198D #8D4019
tetradic
#198D40 #192C8D #8D1966 #8D7A19
square
#198D40 #192C8D #8D1966 #8D7A19
split-complementary
#198D40 #7A198D #8D192C
monochromatic
#072511 #105928 #198D40 #22C158 #43DE77

Accessibility & contrast

On white

4.26
#198D40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#198D40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198D40
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198D40#FFFFFF#000000##000000
##198D401.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8039
Deuteranopia (green-blind)
#817746
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #198d40;
/* rgb */ color: rgb(25, 141, 64);
/* oklch */ color: oklch(56.5% 0.150 149.0);
Tailwind
colors: {
  custom: {
    50: '#6caf77',
    500: '#198d40',
    950: '#000000',
  },
}
SCSS
$custom: #198d40;
$custom-light: #6caf77;
$custom-dark: #000000;
JSON
{
  "hex": "#198d40",
  "rgb": {
    "r": 25,
    "g": 141,
    "b": 64
  },
  "hsl": {
    "h": 140.172,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5651,
    "c": 0.15042,
    "h": 149
  },
  "luminance": 0.19627
}

Semantic roles & 50–950 ramp

primary
#198D40
secondary
#BF4395
accent
#3BB1ED
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #198D40

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

Preview Lab → · Contrast checker → · Palette generator →

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