#198128#198128

#198128 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.8% C 0.155 H 144.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#198128
RGBrgb(25, 129, 40)
HSLhsl(129, 68%, 30%)
HSVhsv(129, 81%, 51%)
CMYKcmyk(80.6%, 0%, 69%, 49.4%)
CIE-LABlab(47.05, -47.02, 38.79)
CIE-LCHlch(47.05, 60.95, 140.47°)
OKLaboklab(52.81% -0.1269 0.0896)
OKLCHoklch(52.81% 0.155 144.8)
XYZxyz(8.6336, 16.0594, 4.6518)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198128 #811972
analogous
#3E8119 #198128 #19815C
triadic
#198128 #281981 #812819
tetradic
#198128 #193E81 #811972 #815C19
square
#198128 #193E81 #811972 #815C19
split-complementary
#198128 #5C1981 #81193E
monochromatic
#051A08 #0F4E18 #198128 #23B438 #3BD952

Accessibility & contrast

On white

4.99
#198128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#198128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198128
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198128#FFFFFF#000000##FFFFFF
##1981281.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741C
Deuteranopia (green-blind)
#786C30
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #198128;
/* rgb */ color: rgb(25, 129, 40);
/* oklch */ color: oklch(52.8% 0.155 144.8);
Tailwind
colors: {
  custom: {
    50: '#6aa766',
    500: '#198128',
    950: '#000000',
  },
}
SCSS
$custom: #198128;
$custom-light: #6aa766;
$custom-dark: #000000;
JSON
{
  "hex": "#198128",
  "rgb": {
    "r": 25,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 128.654,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52807,
    "c": 0.15536,
    "h": 144.8
  },
  "luminance": 0.1606
}

Semantic roles & 50–950 ramp

primary
#198128
secondary
#B541A4
accent
#3DD1EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #198128

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

Preview Lab → · Contrast checker → · Palette generator →

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