#198C28#198C28

#198C28 is a mid, vivid green. Relative luminance 0.191; OKLCH L 55.9% C 0.168 H 144.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#198C28
RGBrgb(25, 140, 40)
HSLhsl(128, 70%, 32%)
HSVhsv(128, 82%, 55%)
CMYKcmyk(82.1%, 0%, 71.4%, 45.1%)
CIE-LABlab(50.82, -50.72, 42.83)
CIE-LCHlch(50.82, 66.38, 139.82°)
OKLaboklab(55.94% -0.137 0.0981)
OKLCHoklch(55.94% 0.168 144.4)
XYZxyz(10.1613, 19.1148, 5.1611)
Luminance0.1912 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198C28 #8C197D
analogous
#448C19 #198C28 #198C62
triadic
#198C28 #28198C #8C2819
tetradic
#198C28 #19448C #8C197D #8C6219
square
#198C28 #19448C #8C197D #8C6219
split-complementary
#198C28 #62198C #8C1944
monochromatic
#06240A #105819 #198C28 #22C037 #42DD56

Accessibility & contrast

On white

4.35
#198C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#198C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198C28
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198C28#FFFFFF#000000##000000
##198C281.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E19
Deuteranopia (green-blind)
#827632
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #198c28;
/* rgb */ color: rgb(25, 140, 40);
/* oklch */ color: oklch(55.9% 0.168 144.4);
Tailwind
colors: {
  custom: {
    50: '#6daf68',
    500: '#198c28',
    950: '#000000',
  },
}
SCSS
$custom: #198c28;
$custom-light: #6daf68;
$custom-dark: #000000;
JSON
{
  "hex": "#198c28",
  "rgb": {
    "r": 25,
    "g": 140,
    "b": 40
  },
  "hsl": {
    "h": 127.826,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55939,
    "c": 0.16847,
    "h": 144.4
  },
  "luminance": 0.19116
}

Semantic roles & 50–950 ramp

primary
#198C28
secondary
#BE43AE
accent
#3BD5ED
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #198C28

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

Preview Lab → · Contrast checker → · Palette generator →

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