#198F4F#198F4F

#198F4F is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.139 H 153.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#198F4F
RGBrgb(25, 143, 79)
HSLhsl(147, 70%, 33%)
HSVhsv(147, 83%, 56%)
CMYKcmyk(82.5%, 0%, 44.8%, 43.9%)
CIE-LABlab(52.30, -46.16, 25.40)
CIE-LCHlch(52.30, 52.69, 151.17°)
OKLaboklab(57.32% -0.124 0.0627)
OKLCHoklch(57.32% 0.139 153.2)
XYZxyz(11.6336, 20.4147, 10.7229)
Luminance0.2042 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198F4F #8F1959
analogous
#1E8F19 #198F4F #198F8A
triadic
#198F4F #4F198F #8F4F19
tetradic
#198F4F #191E8F #8F1959 #8F8A19
square
#198F4F #191E8F #8F1959 #8F8A19
split-complementary
#198F4F #8A198F #8F191E
monochromatic
#072715 #105B32 #198F4F #22C36C #44DE8B

Accessibility & contrast

On white

4.13
#198F4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#198F4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198F4F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198F4F#FFFFFF#000000##000000
##198F4F1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F824A
Deuteranopia (green-blind)
#827953
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #198f4f;
/* rgb */ color: rgb(25, 143, 79);
/* oklch */ color: oklch(57.3% 0.139 153.2);
Tailwind
colors: {
  custom: {
    50: '#6cb181',
    500: '#198f4f',
    950: '#000000',
  },
}
SCSS
$custom: #198f4f;
$custom-light: #6cb181;
$custom-dark: #000000;
JSON
{
  "hex": "#198f4f",
  "rgb": {
    "r": 25,
    "g": 143,
    "b": 79
  },
  "hsl": {
    "h": 147.458,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5732,
    "c": 0.13899,
    "h": 153.2
  },
  "luminance": 0.20416
}

Semantic roles & 50–950 ramp

primary
#198F4F
secondary
#BF4487
accent
#3B9BED
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #198F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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