#198754#198754

#198754 is a mid, vivid teal. Relative luminance 0.182; OKLCH L 55.2% C 0.123 H 157.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#198754
RGBrgb(25, 135, 84)
HSLhsl(152, 69%, 31%)
HSVhsv(152, 81%, 53%)
CMYKcmyk(81.5%, 0%, 37.8%, 47.1%)
CIE-LABlab(49.71, -42.06, 19.21)
CIE-LCHlch(49.71, 46.24, 155.45°)
OKLaboklab(55.2% -0.1136 0.0482)
OKLCHoklch(55.2% 0.123 157)
XYZxyz(10.6640, 18.1734, 11.3316)
Luminance0.1817 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198754 #87194C
analogous
#19871D #198754 #198387
triadic
#198754 #541987 #875419
tetradic
#198754 #1D1987 #87194C #838719
square
#198754 #1D1987 #87194C #838719
split-complementary
#198754 #871983 #871D19
monochromatic
#062014 #0F5334 #198754 #23BB74 #3FDB93

Accessibility & contrast

On white

4.53
#198754 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#198754 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198754
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198754#FFFFFF#000000##000000
##1987541.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#867C51
Deuteranopia (green-blind)
#797357
Tritanopia (blue-blind)
#00867A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #198754;
/* rgb */ color: rgb(25, 135, 84);
/* oklch */ color: oklch(55.2% 0.123 157.0);
Tailwind
colors: {
  custom: {
    50: '#6aab84',
    500: '#198754',
    950: '#000000',
  },
}
SCSS
$custom: #198754;
$custom-light: #6aab84;
$custom-dark: #000000;
JSON
{
  "hex": "#198754",
  "rgb": {
    "r": 25,
    "g": 135,
    "b": 84
  },
  "hsl": {
    "h": 152.182,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55203,
    "c": 0.1234,
    "h": 157
  },
  "luminance": 0.18175
}

Semantic roles & 50–950 ramp

primary
#198754
secondary
#BA4179
accent
#3C8EEC
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#08100B
muted
#7A7F7C

Preview Lab

Preview with #198754

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

Preview Lab → · Contrast checker → · Palette generator →

#198754 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva