#198F3A#198F3A

#198F3A is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.158 H 147.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#198F3A
RGBrgb(25, 143, 58)
HSLhsl(137, 70%, 33%)
HSVhsv(137, 83%, 56%)
CMYKcmyk(82.5%, 0%, 59.4%, 43.9%)
CIE-LABlab(52.01, -49.60, 35.96)
CIE-LCHlch(52.01, 61.27, 144.05°)
OKLaboklab(56.99% -0.1333 0.0853)
OKLCHoklch(56.99% 0.158 147.4)
XYZxyz(10.9862, 20.1557, 7.3136)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198F3A #8F196E
analogous
#338F19 #198F3A #198F75
triadic
#198F3A #3A198F #8F3A19
tetradic
#198F3A #19338F #8F196E #8F7519
square
#198F3A #19338F #8F196E #8F7519
split-complementary
#198F3A #75198F #8F1933
monochromatic
#072710 #105B25 #198F3A #22C34F #44DE6F

Accessibility & contrast

On white

4.17
#198F3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#198F3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198F3A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198F3A#FFFFFF#000000##000000
##198F3A1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918131
Deuteranopia (green-blind)
#847841
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #198f3a;
/* rgb */ color: rgb(25, 143, 58);
/* oklch */ color: oklch(57.0% 0.158 147.4);
Tailwind
colors: {
  custom: {
    50: '#6db173',
    500: '#198f3a',
    950: '#000000',
  },
}
SCSS
$custom: #198f3a;
$custom-light: #6db173;
$custom-dark: #000000;
JSON
{
  "hex": "#198f3a",
  "rgb": {
    "r": 25,
    "g": 143,
    "b": 58
  },
  "hsl": {
    "h": 136.78,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56985,
    "c": 0.15825,
    "h": 147.4
  },
  "luminance": 0.20157
}

Semantic roles & 50–950 ramp

primary
#198F3A
secondary
#BF449D
accent
#3BBBED
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #198F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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