#198918#198918

#198918 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.0% C 0.174 H 142.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#198918
RGBrgb(25, 137, 24)
HSLhsl(119, 70%, 32%)
HSVhsv(119, 82%, 54%)
CMYKcmyk(81.8%, 0%, 82.5%, 46.3%)
CIE-LABlab(49.69, -51.03, 47.51)
CIE-LCHlch(49.69, 69.73, 137.04°)
OKLaboklab(54.97% -0.1385 0.1057)
OKLCHoklch(54.97% 0.174 142.7)
XYZxyz(9.5108, 18.1628, 3.8685)
Luminance0.1816 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198918 #881889
analogous
#528918 #198918 #188950
triadic
#198918 #181989 #891819
tetradic
#198918 #185289 #881889 #895018
square
#198918 #185289 #881889 #895018
split-complementary
#198918 #501889 #891852
monochromatic
#062106 #0F550F #198918 #23BD21 #40DD3E

Accessibility & contrast

On white

4.53
#198918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#198918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198918
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198918#FFFFFF#000000##000000
##1989181.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#008574
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #198918;
/* rgb */ color: rgb(25, 137, 24);
/* oklch */ color: oklch(55.0% 0.174 142.7);
Tailwind
colors: {
  custom: {
    50: '#6dad5f',
    500: '#198918',
    950: '#000000',
  },
}
SCSS
$custom: #198918;
$custom-light: #6dad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#198918",
  "rgb": {
    "r": 25,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 119.469,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54968,
    "c": 0.17425,
    "h": 142.7
  },
  "luminance": 0.18164
}

Semantic roles & 50–950 ramp

primary
#198918
secondary
#BB40BD
accent
#3BEDEB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #198918

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

Preview Lab → · Contrast checker → · Palette generator →

#198918 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva