#198D2D#198D2D

#198D2D is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.166 H 145.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#198D2D
RGBrgb(25, 141, 45)
HSLhsl(130, 70%, 33%)
HSVhsv(130, 82%, 55%)
CMYKcmyk(82.3%, 0%, 68.1%, 44.7%)
CIE-LABlab(51.20, -50.53, 41.11)
CIE-LCHlch(51.20, 65.14, 140.87°)
OKLaboklab(56.27% -0.1363 0.0951)
OKLCHoklch(56.27% 0.166 145.1)
XYZxyz(10.3987, 19.4446, 5.6873)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198D2D #8D1979
analogous
#3F8D19 #198D2D #198D67
triadic
#198D2D #2D198D #8D2D19
tetradic
#198D2D #193F8D #8D1979 #8D6719
square
#198D2D #193F8D #8D1979 #8D6719
split-complementary
#198D2D #67198D #8D193F
monochromatic
#07250C #10591C #198D2D #22C13E #43DE5D

Accessibility & contrast

On white

4.30
#198D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#198D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198D2D
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198D2D#FFFFFF#000000##000000
##198D2D1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F20
Deuteranopia (green-blind)
#837736
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #198d2d;
/* rgb */ color: rgb(25, 141, 45);
/* oklch */ color: oklch(56.3% 0.166 145.1);
Tailwind
colors: {
  custom: {
    50: '#6daf6b',
    500: '#198d2d',
    950: '#000000',
  },
}
SCSS
$custom: #198d2d;
$custom-light: #6daf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#198d2d",
  "rgb": {
    "r": 25,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 130.345,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5627,
    "c": 0.16614,
    "h": 145.1
  },
  "luminance": 0.19446
}

Semantic roles & 50–950 ramp

primary
#198D2D
secondary
#BF43A9
accent
#3BCEED
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081107
muted
#7B807A

Preview Lab

Preview with #198D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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