#198A28#198A28

#198A28 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.166 H 144.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#198A28
RGBrgb(25, 138, 40)
HSLhsl(128, 69%, 32%)
HSVhsv(128, 82%, 54%)
CMYKcmyk(81.9%, 0%, 71%, 45.9%)
CIE-LABlab(50.14, -50.05, 42.11)
CIE-LCHlch(50.14, 65.41, 139.93°)
OKLaboklab(55.37% -0.1352 0.0966)
OKLCHoklch(55.37% 0.166 144.5)
XYZxyz(9.8717, 18.5356, 5.0645)
Luminance0.1854 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198A28 #8A197B
analogous
#428A19 #198A28 #198A61
triadic
#198A28 #28198A #8A2819
tetradic
#198A28 #19428A #8A197B #8A6119
square
#198A28 #19428A #8A197B #8A6119
split-complementary
#198A28 #61198A #8A1942
monochromatic
#06220A #105619 #198A28 #22BE37 #41DD56

Accessibility & contrast

On white

4.46
#198A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#198A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198A28
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198A28#FFFFFF#000000##000000
##198A281.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C1A
Deuteranopia (green-blind)
#807432
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #198a28;
/* rgb */ color: rgb(25, 138, 40);
/* oklch */ color: oklch(55.4% 0.166 144.5);
Tailwind
colors: {
  custom: {
    50: '#6cad67',
    500: '#198a28',
    950: '#000000',
  },
}
SCSS
$custom: #198a28;
$custom-light: #6cad67;
$custom-dark: #000000;
JSON
{
  "hex": "#198a28",
  "rgb": {
    "r": 25,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 127.965,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55372,
    "c": 0.16613,
    "h": 144.5
  },
  "luminance": 0.18537
}

Semantic roles & 50–950 ramp

primary
#198A28
secondary
#BD42AD
accent
#3CD5EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #198A28

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

Preview Lab → · Contrast checker → · Palette generator →

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