#198F28#198F28

#198F28 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.172 H 144.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#198F28
RGBrgb(25, 143, 40)
HSLhsl(128, 70%, 33%)
HSVhsv(128, 83%, 56%)
CMYKcmyk(82.5%, 0%, 72%, 43.9%)
CIE-LABlab(51.84, -51.70, 43.90)
CIE-LCHlch(51.84, 67.83, 139.67°)
OKLaboklab(56.79% -0.1397 0.1003)
OKLCHoklch(56.79% 0.172 144.3)
XYZxyz(10.6056, 20.0035, 5.3092)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198F28 #8F1980
analogous
#458F19 #198F28 #198F63
triadic
#198F28 #28198F #8F2819
tetradic
#198F28 #19458F #8F1980 #8F6319
square
#198F28 #19458F #8F1980 #8F6319
split-complementary
#198F28 #63198F #8F1945
monochromatic
#07270B #105B19 #198F28 #22C337 #44DE58

Accessibility & contrast

On white

4.20
#198F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#198F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198F28
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198F28#FFFFFF#000000##000000
##198F281.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928118
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #198f28;
/* rgb */ color: rgb(25, 143, 40);
/* oklch */ color: oklch(56.8% 0.172 144.3);
Tailwind
colors: {
  custom: {
    50: '#6db168',
    500: '#198f28',
    950: '#000000',
  },
}
SCSS
$custom: #198f28;
$custom-light: #6db168;
$custom-dark: #000000;
JSON
{
  "hex": "#198f28",
  "rgb": {
    "r": 25,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 127.627,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56787,
    "c": 0.17197,
    "h": 144.3
  },
  "luminance": 0.20005
}

Semantic roles & 50–950 ramp

primary
#198F28
secondary
#BF44B0
accent
#3BD6ED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #198F28

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

Preview Lab → · Contrast checker → · Palette generator →

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