#198F18#198F18

#198F18 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.181 H 142.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#198F18
RGBrgb(25, 143, 24)
HSLhsl(119, 71%, 33%)
HSVhsv(119, 83%, 56%)
CMYKcmyk(82.5%, 0%, 83.2%, 43.9%)
CIE-LABlab(51.74, -52.94, 49.43)
CIE-LCHlch(51.74, 72.43, 136.96°)
OKLaboklab(56.67% -0.1437 0.1097)
OKLCHoklch(56.67% 0.181 142.7)
XYZxyz(10.3876, 19.9163, 4.1607)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198F18 #8E188F
analogous
#548F18 #198F18 #188F53
triadic
#198F18 #18198F #8F1819
tetradic
#198F18 #18548F #8E188F #8F5318
square
#198F18 #18548F #8E188F #8F5318
split-complementary
#198F18 #53188F #8F1854
monochromatic
#072606 #105B0F #198F18 #22C321 #43DF42

Accessibility & contrast

On white

4.21
#198F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#198F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198F18
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198F18#FFFFFF#000000##000000
##198F181.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#008B79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #198f18;
/* rgb */ color: rgb(25, 143, 24);
/* oklch */ color: oklch(56.7% 0.181 142.7);
Tailwind
colors: {
  custom: {
    50: '#6eb160',
    500: '#198f18',
    950: '#000000',
  },
}
SCSS
$custom: #198f18;
$custom-light: #6eb160;
$custom-dark: #000000;
JSON
{
  "hex": "#198f18",
  "rgb": {
    "r": 25,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 119.496,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56674,
    "c": 0.1808,
    "h": 142.7
  },
  "luminance": 0.19918
}

Semantic roles & 50–950 ramp

primary
#198F18
secondary
#BF43C0
accent
#3AEEEC
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #198F18

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

Preview Lab → · Contrast checker → · Palette generator →

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