#198628#198628

#198628 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.2% C 0.161 H 144.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#198628
RGBrgb(25, 134, 40)
HSLhsl(128, 69%, 31%)
HSVhsv(128, 81%, 53%)
CMYKcmyk(81.3%, 0%, 70.1%, 47.5%)
CIE-LABlab(48.77, -48.72, 40.65)
CIE-LCHlch(48.77, 63.45, 140.16°)
OKLaboklab(54.24% -0.1315 0.0935)
OKLCHoklch(54.24% 0.161 144.6)
XYZxyz(9.3084, 17.4089, 4.8768)
Luminance0.1741 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198628 #861977
analogous
#408619 #198628 #19865E
triadic
#198628 #281986 #862819
tetradic
#198628 #194086 #861977 #865E19
square
#198628 #194086 #861977 #865E19
split-complementary
#198628 #5E1986 #861940
monochromatic
#061F09 #0F5219 #198628 #23BA37 #3EDB54

Accessibility & contrast

On white

4.69
#198628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#198628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198628
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198628#FFFFFF#000000##FFFFFF
##1986281.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88791B
Deuteranopia (green-blind)
#7D7131
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #198628;
/* rgb */ color: rgb(25, 134, 40);
/* oklch */ color: oklch(54.2% 0.161 144.6);
Tailwind
colors: {
  custom: {
    50: '#6baa67',
    500: '#198628',
    950: '#000000',
  },
}
SCSS
$custom: #198628;
$custom-light: #6baa67;
$custom-dark: #000000;
JSON
{
  "hex": "#198628",
  "rgb": {
    "r": 25,
    "g": 134,
    "b": 40
  },
  "hsl": {
    "h": 128.257,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54235,
    "c": 0.16138,
    "h": 144.6
  },
  "luminance": 0.1741
}

Semantic roles & 50–950 ramp

primary
#198628
secondary
#BA41A9
accent
#3CD3EB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #198628

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

Preview Lab → · Contrast checker → · Palette generator →

#198628 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva