#198A18#198A18

#198A18 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.3% C 0.175 H 142.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#198A18
RGBrgb(25, 138, 24)
HSLhsl(119, 70%, 32%)
HSVhsv(119, 83%, 54%)
CMYKcmyk(81.9%, 0%, 82.6%, 45.9%)
CIE-LABlab(50.04, -51.35, 47.84)
CIE-LCHlch(50.04, 70.18, 137.03°)
OKLaboklab(55.25% -0.1394 0.1064)
OKLCHoklch(55.25% 0.175 142.7)
XYZxyz(9.6536, 18.4484, 3.9161)
Luminance0.1845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198A18 #89188A
analogous
#528A18 #198A18 #188A50
triadic
#198A18 #18198A #8A1819
tetradic
#198A18 #18528A #89188A #8A5018
square
#198A18 #18528A #89188A #8A5018
split-complementary
#198A18 #50188A #8A1852
monochromatic
#062206 #10560F #198A18 #22BE21 #40DE3F

Accessibility & contrast

On white

4.48
#198A18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#198A18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198A18
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198A18#FFFFFF#000000##000000
##198A181.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#008675
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #198a18;
/* rgb */ color: rgb(25, 138, 24);
/* oklch */ color: oklch(55.3% 0.175 142.7);
Tailwind
colors: {
  custom: {
    50: '#6dad60',
    500: '#198a18',
    950: '#000000',
  },
}
SCSS
$custom: #198a18;
$custom-light: #6dad60;
$custom-dark: #000000;
JSON
{
  "hex": "#198a18",
  "rgb": {
    "r": 25,
    "g": 138,
    "b": 24
  },
  "hsl": {
    "h": 119.474,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55253,
    "c": 0.17535,
    "h": 142.7
  },
  "luminance": 0.1845
}

Semantic roles & 50–950 ramp

primary
#198A18
secondary
#BC40BD
accent
#3BEDEC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #198A18

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

Preview Lab → · Contrast checker → · Palette generator →

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