#198D28#198D28

#198D28 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.170 H 144.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#198D28
RGBrgb(25, 141, 40)
HSLhsl(128, 70%, 33%)
HSVhsv(128, 82%, 55%)
CMYKcmyk(82.3%, 0%, 71.6%, 44.7%)
CIE-LABlab(51.16, -51.05, 43.19)
CIE-LCHlch(51.16, 66.87, 139.77°)
OKLaboklab(56.22% -0.1379 0.0988)
OKLCHoklch(56.22% 0.17 144.4)
XYZxyz(10.3081, 19.4084, 5.2100)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198D28 #8D197E
analogous
#448D19 #198D28 #198D62
triadic
#198D28 #28198D #8D2819
tetradic
#198D28 #19448D #8D197E #8D6219
square
#198D28 #19448D #8D197E #8D6219
split-complementary
#198D28 #62198D #8D1944
monochromatic
#07250B #105919 #198D28 #22C137 #43DE57

Accessibility & contrast

On white

4.30
#198D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#198D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198D28
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198D28#FFFFFF#000000##000000
##198D281.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F19
Deuteranopia (green-blind)
#837732
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #198d28;
/* rgb */ color: rgb(25, 141, 40);
/* oklch */ color: oklch(56.2% 0.170 144.4);
Tailwind
colors: {
  custom: {
    50: '#6daf68',
    500: '#198d28',
    950: '#000000',
  },
}
SCSS
$custom: #198d28;
$custom-light: #6daf68;
$custom-dark: #000000;
JSON
{
  "hex": "#198d28",
  "rgb": {
    "r": 25,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 127.759,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56222,
    "c": 0.16965,
    "h": 144.4
  },
  "luminance": 0.1941
}

Semantic roles & 50–950 ramp

primary
#198D28
secondary
#BF43AF
accent
#3BD6ED
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #198D28

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

Preview Lab → · Contrast checker → · Palette generator →

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