#198F51#198F51

#198F51 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.4% C 0.137 H 153.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#198F51
RGBrgb(25, 143, 81)
HSLhsl(148, 70%, 33%)
HSVhsv(148, 83%, 56%)
CMYKcmyk(82.5%, 0%, 43.4%, 43.9%)
CIE-LABlab(52.34, -45.77, 24.36)
CIE-LCHlch(52.34, 51.85, 151.98°)
OKLaboklab(57.36% -0.1231 0.0603)
OKLCHoklch(57.36% 0.137 153.9)
XYZxyz(11.7075, 20.4442, 11.1121)
Luminance0.2045 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198F51 #8F1957
analogous
#1C8F19 #198F51 #198F8C
triadic
#198F51 #51198F #8F5119
tetradic
#198F51 #191C8F #8F1957 #8F8C19
square
#198F51 #191C8F #8F1957 #8F8C19
split-complementary
#198F51 #8C198F #8F191C
monochromatic
#072716 #105B33 #198F51 #22C36F #44DE8D

Accessibility & contrast

On white

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

On black

5.09
#198F51 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198F51
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198F51#FFFFFF#000000##000000
##198F511.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F834D
Deuteranopia (green-blind)
#817955
Tritanopia (blue-blind)
#008D80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #198f51;
/* rgb */ color: rgb(25, 143, 81);
/* oklch */ color: oklch(57.4% 0.137 153.9);
Tailwind
colors: {
  custom: {
    50: '#6cb182',
    500: '#198f51',
    950: '#000000',
  },
}
SCSS
$custom: #198f51;
$custom-light: #6cb182;
$custom-dark: #000000;
JSON
{
  "hex": "#198f51",
  "rgb": {
    "r": 25,
    "g": 143,
    "b": 81
  },
  "hsl": {
    "h": 148.475,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57358,
    "c": 0.13708,
    "h": 153.9
  },
  "luminance": 0.20446
}

Semantic roles & 50–950 ramp

primary
#198F51
secondary
#BF4485
accent
#3B98ED
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110A
muted
#7B807C

Preview Lab

Preview with #198F51

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

Preview Lab → · Contrast checker → · Palette generator →

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