#197845#197845

#197845 is a mid, moderate green. Relative luminance 0.141; OKLCH L 50.7% C 0.117 H 154.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#197845
RGBrgb(25, 120, 69)
HSLhsl(148, 66%, 28%)
HSVhsv(148, 79%, 47%)
CMYKcmyk(79.2%, 0%, 42.5%, 52.9%)
CIE-LABlab(44.33, -39.20, 20.56)
CIE-LCHlch(44.33, 44.26, 152.32°)
OKLaboklab(50.68% -0.1056 0.0511)
OKLCHoklch(50.68% 0.117 154.2)
XYZxyz(8.1908, 14.0683, 7.9128)
Luminance0.1407 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197845 #78194C
analogous
#1D7819 #197845 #197874
triadic
#197845 #451978 #784519
tetradic
#197845 #191D78 #78194C #787419
square
#197845 #191D78 #78194C #787419
split-complementary
#197845 #741978 #78191D
monochromatic
#05190F #0E4528 #197845 #24AB62 #36D580

Accessibility & contrast

On white

5.51
#197845 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#197845 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197845
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197845#FFFFFF#000000##FFFFFF
##1978451.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786E41
Deuteranopia (green-blind)
#6D6648
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #197845;
/* rgb */ color: rgb(25, 120, 69);
/* oklch */ color: oklch(50.7% 0.117 154.2);
Tailwind
colors: {
  custom: {
    50: '#66a079',
    500: '#197845',
    950: '#000000',
  },
}
SCSS
$custom: #197845;
$custom-light: #66a079;
$custom-dark: #000000;
JSON
{
  "hex": "#197845",
  "rgb": {
    "r": 25,
    "g": 120,
    "b": 69
  },
  "hsl": {
    "h": 147.789,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50675,
    "c": 0.11729,
    "h": 154.2
  },
  "luminance": 0.14069
}

Semantic roles & 50–950 ramp

primary
#197845
secondary
#AD407A
accent
#3F9AE8
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #197845

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

Preview Lab → · Contrast checker → · Palette generator →

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