#198F40#198F40

#198F40 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.153 H 148.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#198F40
RGBrgb(25, 143, 64)
HSLhsl(140, 70%, 33%)
HSVhsv(140, 83%, 56%)
CMYKcmyk(82.5%, 0%, 55.2%, 43.9%)
CIE-LABlab(52.09, -48.72, 33.05)
CIE-LCHlch(52.09, 58.87, 145.85°)
OKLaboklab(57.07% -0.1308 0.0793)
OKLCHoklch(57.07% 0.153 148.8)
XYZxyz(11.1479, 20.2204, 8.1649)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198F40 #8F1968
analogous
#2D8F19 #198F40 #198F7B
triadic
#198F40 #40198F #8F4019
tetradic
#198F40 #192D8F #8F1968 #8F7B19
square
#198F40 #192D8F #8F1968 #8F7B19
split-complementary
#198F40 #7B198F #8F192D
monochromatic
#072711 #105B29 #198F40 #22C357 #44DE77

Accessibility & contrast

On white

4.16
#198F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#198F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198F40
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198F40#FFFFFF#000000##000000
##198F401.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908239
Deuteranopia (green-blind)
#837946
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #198f40;
/* rgb */ color: rgb(25, 143, 64);
/* oklch */ color: oklch(57.1% 0.153 148.8);
Tailwind
colors: {
  custom: {
    50: '#6cb177',
    500: '#198f40',
    950: '#000000',
  },
}
SCSS
$custom: #198f40;
$custom-light: #6cb177;
$custom-dark: #000000;
JSON
{
  "hex": "#198f40",
  "rgb": {
    "r": 25,
    "g": 143,
    "b": 64
  },
  "hsl": {
    "h": 139.831,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57069,
    "c": 0.15299,
    "h": 148.8
  },
  "luminance": 0.20222
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #198F40

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

Preview Lab → · Contrast checker → · Palette generator →

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