#198C2D#198C2D

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

Color values

HEX#198C2D
RGBrgb(25, 140, 45)
HSLhsl(130, 70%, 32%)
HSVhsv(130, 82%, 55%)
CMYKcmyk(82.1%, 0%, 67.9%, 45.1%)
CIE-LABlab(50.86, -50.20, 40.74)
CIE-LCHlch(50.86, 64.65, 140.94°)
OKLaboklab(55.99% -0.1353 0.0943)
OKLCHoklch(55.99% 0.165 145.1)
XYZxyz(10.2519, 19.1511, 5.6383)
Luminance0.1915 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198C2D #8C1978
analogous
#3E8C19 #198C2D #198C67
triadic
#198C2D #2D198C #8C2D19
tetradic
#198C2D #193E8C #8C1978 #8C6719
square
#198C2D #193E8C #8C1978 #8C6719
split-complementary
#198C2D #67198C #8C193E
monochromatic
#06240C #10581C #198C2D #22C03E #42DD5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##198C2D#FFFFFF#000000##000000
##198C2D1.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)
#8E7E21
Deuteranopia (green-blind)
#827636
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #198c2d;
/* rgb */ color: rgb(25, 140, 45);
/* oklch */ color: oklch(56.0% 0.165 145.1);
Tailwind
colors: {
  custom: {
    50: '#6caf6a',
    500: '#198c2d',
    950: '#000000',
  },
}
SCSS
$custom: #198c2d;
$custom-light: #6caf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#198c2d",
  "rgb": {
    "r": 25,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 130.435,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55988,
    "c": 0.16494,
    "h": 145.1
  },
  "luminance": 0.19152
}

Semantic roles & 50–950 ramp

primary
#198C2D
secondary
#BE43A9
accent
#3BCEED
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #198C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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