#198C2A#198C2A

#198C2A is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.167 H 144.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#198C2A
RGBrgb(25, 140, 42)
HSLhsl(129, 70%, 32%)
HSVhsv(129, 82%, 55%)
CMYKcmyk(82.1%, 0%, 70%, 45.1%)
CIE-LABlab(50.84, -50.52, 42.01)
CIE-LCHlch(50.84, 65.70, 140.25°)
OKLaboklab(55.96% -0.1363 0.0966)
OKLCHoklch(55.96% 0.167 144.7)
XYZxyz(10.1962, 19.1288, 5.3449)
Luminance0.1913 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198C2A #8C197B
analogous
#418C19 #198C2A #198C64
triadic
#198C2A #2A198C #8C2A19
tetradic
#198C2A #19418C #8C197B #8C6419
square
#198C2A #19418C #8C197B #8C6419
split-complementary
#198C2A #64198C #8C1941
monochromatic
#06240B #10581A #198C2A #22C03A #42DD59

Accessibility & contrast

On white

4.35
#198C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#198C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198C2A
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198C2A#FFFFFF#000000##000000
##198C2A1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E1C
Deuteranopia (green-blind)
#827633
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #198c2a;
/* rgb */ color: rgb(25, 140, 42);
/* oklch */ color: oklch(56.0% 0.167 144.7);
Tailwind
colors: {
  custom: {
    50: '#6daf69',
    500: '#198c2a',
    950: '#000000',
  },
}
SCSS
$custom: #198c2a;
$custom-light: #6daf69;
$custom-dark: #000000;
JSON
{
  "hex": "#198c2a",
  "rgb": {
    "r": 25,
    "g": 140,
    "b": 42
  },
  "hsl": {
    "h": 128.87,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55958,
    "c": 0.1671,
    "h": 144.7
  },
  "luminance": 0.1913
}

Semantic roles & 50–950 ramp

primary
#198C2A
secondary
#BE43AC
accent
#3BD2ED
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #198C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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