#198B18#198B18

#198B18 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.5% C 0.176 H 142.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#198B18
RGBrgb(25, 139, 24)
HSLhsl(119, 71%, 32%)
HSVhsv(119, 83%, 55%)
CMYKcmyk(82%, 0%, 82.7%, 45.5%)
CIE-LABlab(50.38, -51.67, 48.16)
CIE-LCHlch(50.38, 70.63, 137.01°)
OKLaboklab(55.54% -0.1403 0.107)
OKLCHoklch(55.54% 0.176 142.7)
XYZxyz(9.7978, 18.7367, 3.9641)
Luminance0.1874 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198B18 #8A188B
analogous
#538B18 #198B18 #188B51
triadic
#198B18 #18198B #8B1819
tetradic
#198B18 #18538B #8A188B #8B5118
square
#198B18 #18538B #8A188B #8B5118
split-complementary
#198B18 #51188B #8B1853
monochromatic
#062306 #10570F #198B18 #22BF21 #41DE3F

Accessibility & contrast

On white

4.42
#198B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#198B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198B18
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198B18#FFFFFF#000000##000000
##198B181.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #198b18;
/* rgb */ color: rgb(25, 139, 24);
/* oklch */ color: oklch(55.5% 0.176 142.7);
Tailwind
colors: {
  custom: {
    50: '#6dae60',
    500: '#198b18',
    950: '#000000',
  },
}
SCSS
$custom: #198b18;
$custom-light: #6dae60;
$custom-dark: #000000;
JSON
{
  "hex": "#198b18",
  "rgb": {
    "r": 25,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 119.478,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55537,
    "c": 0.17644,
    "h": 142.7
  },
  "luminance": 0.18738
}

Semantic roles & 50–950 ramp

primary
#198B18
secondary
#BD40BE
accent
#3AEDEC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #198B18

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

Preview Lab → · Contrast checker → · Palette generator →

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