#198716#198716

#198716 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.4% C 0.173 H 142.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#198716
RGBrgb(25, 135, 22)
HSLhsl(118, 72%, 31%)
HSVhsv(118, 84%, 53%)
CMYKcmyk(81.5%, 0%, 83.7%, 47.1%)
CIE-LABlab(49.00, -50.51, 47.46)
CIE-LCHlch(49.00, 69.31, 136.78°)
OKLaboklab(54.38% -0.1372 0.1053)
OKLCHoklch(54.38% 0.173 142.5)
XYZxyz(9.2091, 17.5914, 3.6690)
Luminance0.1759 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198716 #841687
analogous
#518716 #198716 #16874B
triadic
#198716 #161987 #871619
tetradic
#198716 #165187 #841687 #874B16
square
#198716 #165187 #841687 #874B16
split-complementary
#198716 #4B1687 #871651
monochromatic
#061E05 #0F520D #198716 #23BC1F #3DDF39

Accessibility & contrast

On white

4.65
#198716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#198716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #198716
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198716#FFFFFF#000000##FFFFFF
##1987161.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #198716;
/* rgb */ color: rgb(25, 135, 22);
/* oklch */ color: oklch(54.4% 0.173 142.5);
Tailwind
colors: {
  custom: {
    50: '#6cab5e',
    500: '#198716',
    950: '#000000',
  },
}
SCSS
$custom: #198716;
$custom-light: #6cab5e;
$custom-dark: #000000;
JSON
{
  "hex": "#198716",
  "rgb": {
    "r": 25,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 118.407,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54385,
    "c": 0.17296,
    "h": 142.5
  },
  "luminance": 0.17593
}

Semantic roles & 50–950 ramp

primary
#198716
secondary
#B83EBB
accent
#39EFEA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #198716

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

Preview Lab → · Contrast checker → · Palette generator →

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