#198A2D#198A2D

#198A2D is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.4% C 0.163 H 145.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#198A2D
RGBrgb(25, 138, 45)
HSLhsl(131, 69%, 32%)
HSVhsv(131, 82%, 54%)
CMYKcmyk(81.9%, 0%, 67.4%, 45.9%)
CIE-LABlab(50.18, -49.52, 39.99)
CIE-LCHlch(50.18, 63.65, 141.08°)
OKLaboklab(55.42% -0.1335 0.0927)
OKLCHoklch(55.42% 0.163 145.2)
XYZxyz(9.9623, 18.5719, 5.5418)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198A2D #8A1976
analogous
#3E8A19 #198A2D #198A65
triadic
#198A2D #2D198A #8A2D19
tetradic
#198A2D #193E8A #8A1976 #8A6519
square
#198A2D #193E8A #8A1976 #8A6519
split-complementary
#198A2D #65198A #8A193E
monochromatic
#06220B #10561C #198A2D #22BE3E #41DD5C

Accessibility & contrast

On white

4.45
#198A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#198A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198A2D
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198A2D#FFFFFF#000000##000000
##198A2D1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D21
Deuteranopia (green-blind)
#807435
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #198a2d;
/* rgb */ color: rgb(25, 138, 45);
/* oklch */ color: oklch(55.4% 0.163 145.2);
Tailwind
colors: {
  custom: {
    50: '#6cad6a',
    500: '#198a2d',
    950: '#000000',
  },
}
SCSS
$custom: #198a2d;
$custom-light: #6cad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#198a2d",
  "rgb": {
    "r": 25,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 130.619,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55422,
    "c": 0.16254,
    "h": 145.2
  },
  "luminance": 0.18573
}

Semantic roles & 50–950 ramp

primary
#198A2D
secondary
#BD42A7
accent
#3CCDEC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #198A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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