#198F2A#198F2A

#198F2A is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.171 H 144.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#198F2A
RGBrgb(25, 143, 42)
HSLhsl(129, 70%, 33%)
HSVhsv(129, 83%, 56%)
CMYKcmyk(82.5%, 0%, 70.6%, 43.9%)
CIE-LABlab(51.86, -51.51, 43.09)
CIE-LCHlch(51.86, 67.16, 140.08°)
OKLaboklab(56.81% -0.139 0.0989)
OKLCHoklch(56.81% 0.171 144.6)
XYZxyz(10.6405, 20.0175, 5.4930)
Luminance0.2002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198F2A #8F197E
analogous
#438F19 #198F2A #198F65
triadic
#198F2A #2A198F #8F2A19
tetradic
#198F2A #19438F #8F197E #8F6519
square
#198F2A #19438F #8F197E #8F6519
split-complementary
#198F2A #65198F #8F1943
monochromatic
#07270B #105B1B #198F2A #22C339 #44DE5A

Accessibility & contrast

On white

4.20
#198F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#198F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198F2A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198F2A#FFFFFF#000000##000000
##198F2A1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811B
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #198f2a;
/* rgb */ color: rgb(25, 143, 42);
/* oklch */ color: oklch(56.8% 0.171 144.6);
Tailwind
colors: {
  custom: {
    50: '#6db169',
    500: '#198f2a',
    950: '#000000',
  },
}
SCSS
$custom: #198f2a;
$custom-light: #6db169;
$custom-dark: #000000;
JSON
{
  "hex": "#198f2a",
  "rgb": {
    "r": 25,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 128.644,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56805,
    "c": 0.17063,
    "h": 144.6
  },
  "luminance": 0.20019
}

Semantic roles & 50–950 ramp

primary
#198F2A
secondary
#BF44AE
accent
#3BD3ED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #198F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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