#198B2F#198B2F

#198B2F is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.7% C 0.162 H 145.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#198B2F
RGBrgb(25, 139, 47)
HSLhsl(132, 70%, 32%)
HSVhsv(132, 82%, 55%)
CMYKcmyk(82%, 0%, 66.2%, 45.5%)
CIE-LABlab(50.54, -49.63, 39.49)
CIE-LCHlch(50.54, 63.42, 141.50°)
OKLaboklab(55.73% -0.1337 0.0918)
OKLCHoklch(55.73% 0.162 145.5)
XYZxyz(10.1459, 18.8759, 5.7975)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198B2F #8B1975
analogous
#3C8B19 #198B2F #198B68
triadic
#198B2F #2F198B #8B2F19
tetradic
#198B2F #193C8B #8B1975 #8B6819
square
#198B2F #193C8B #8B1975 #8B6819
split-complementary
#198B2F #68198B #8B193C
monochromatic
#06230C #10571D #198B2F #22BF41 #41DD5F

Accessibility & contrast

On white

4.40
#198B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#198B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198B2F
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198B2F#FFFFFF#000000##000000
##198B2F1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E24
Deuteranopia (green-blind)
#817537
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #198b2f;
/* rgb */ color: rgb(25, 139, 47);
/* oklch */ color: oklch(55.7% 0.162 145.5);
Tailwind
colors: {
  custom: {
    50: '#6cae6c',
    500: '#198b2f',
    950: '#000000',
  },
}
SCSS
$custom: #198b2f;
$custom-light: #6cae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#198b2f",
  "rgb": {
    "r": 25,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 131.579,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55726,
    "c": 0.16224,
    "h": 145.5
  },
  "luminance": 0.18877
}

Semantic roles & 50–950 ramp

primary
#198B2F
secondary
#BE42A6
accent
#3BCAEC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #198B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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