#198E28#198E28

#198E28 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.171 H 144.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#198E28
RGBrgb(25, 142, 40)
HSLhsl(128, 70%, 33%)
HSVhsv(128, 82%, 56%)
CMYKcmyk(82.4%, 0%, 71.8%, 44.3%)
CIE-LABlab(51.50, -51.38, 43.54)
CIE-LCHlch(51.50, 67.35, 139.72°)
OKLaboklab(56.51% -0.1388 0.0996)
OKLCHoklch(56.51% 0.171 144.3)
XYZxyz(10.4562, 19.7046, 5.2594)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198E28 #8E197F
analogous
#458E19 #198E28 #198E62
triadic
#198E28 #28198E #8E2819
tetradic
#198E28 #19458E #8E197F #8E6219
square
#198E28 #19458E #8E197F #8E6219
split-complementary
#198E28 #62198E #8E1945
monochromatic
#07260B #105A19 #198E28 #22C237 #43DE57

Accessibility & contrast

On white

4.25
#198E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#198E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198E28
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198E28#FFFFFF#000000##000000
##198E281.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918018
Deuteranopia (green-blind)
#847732
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #198e28;
/* rgb */ color: rgb(25, 142, 40);
/* oklch */ color: oklch(56.5% 0.171 144.3);
Tailwind
colors: {
  custom: {
    50: '#6db068',
    500: '#198e28',
    950: '#000000',
  },
}
SCSS
$custom: #198e28;
$custom-light: #6db068;
$custom-dark: #000000;
JSON
{
  "hex": "#198e28",
  "rgb": {
    "r": 25,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 127.692,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56505,
    "c": 0.17082,
    "h": 144.3
  },
  "luminance": 0.19706
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #198E28

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

Preview Lab → · Contrast checker → · Palette generator →

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