#197837#197837

#197837 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.131 H 148.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#197837
RGBrgb(25, 120, 55)
HSLhsl(139, 66%, 28%)
HSVhsv(139, 79%, 47%)
CMYKcmyk(79.2%, 0%, 54.2%, 52.9%)
CIE-LABlab(44.11, -41.76, 28.01)
CIE-LCHlch(44.11, 50.28, 146.15°)
OKLaboklab(50.42% -0.1122 0.0676)
OKLCHoklch(50.42% 0.131 148.9)
XYZxyz(7.8063, 13.9145, 5.8880)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197837 #78195A
analogous
#2B7819 #197837 #197866
triadic
#197837 #371978 #783719
tetradic
#197837 #192B78 #78195A #786619
square
#197837 #192B78 #78195A #786619
split-complementary
#197837 #661978 #78192B
monochromatic
#05190C #0E4520 #197837 #24AB4E #36D568

Accessibility & contrast

On white

5.55
#197837 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#197837 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197837
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197837#FFFFFF#000000##FFFFFF
##1978371.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D31
Deuteranopia (green-blind)
#6E653C
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #197837;
/* rgb */ color: rgb(25, 120, 55);
/* oklch */ color: oklch(50.4% 0.131 148.9);
Tailwind
colors: {
  custom: {
    50: '#67a06f',
    500: '#197837',
    950: '#000000',
  },
}
SCSS
$custom: #197837;
$custom-light: #67a06f;
$custom-dark: #000000;
JSON
{
  "hex": "#197837",
  "rgb": {
    "r": 25,
    "g": 120,
    "b": 55
  },
  "hsl": {
    "h": 138.947,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50421,
    "c": 0.13101,
    "h": 148.9
  },
  "luminance": 0.13915
}

Semantic roles & 50–950 ramp

primary
#197837
secondary
#AD408A
accent
#3FB3E8
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #197837

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

Preview Lab → · Contrast checker → · Palette generator →

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