#197842#197842

#197842 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.120 H 152.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#197842
RGBrgb(25, 120, 66)
HSLhsl(146, 66%, 28%)
HSVhsv(146, 79%, 47%)
CMYKcmyk(79.2%, 0%, 45%, 52.9%)
CIE-LABlab(44.28, -39.79, 22.18)
CIE-LCHlch(44.28, 45.56, 150.86°)
OKLaboklab(50.62% -0.1071 0.0548)
OKLCHoklch(50.62% 0.12 152.9)
XYZxyz(8.1000, 14.0320, 7.4348)
Luminance0.1403 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197842 #78194F
analogous
#1F7819 #197842 #197871
triadic
#197842 #421978 #784219
tetradic
#197842 #191F78 #78194F #787119
square
#197842 #191F78 #78194F #787119
split-complementary
#197842 #711978 #78191F
monochromatic
#05190E #0E4526 #197842 #24AB5E #36D57B

Accessibility & contrast

On white

5.52
#197842 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #197842
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197842#FFFFFF#000000##FFFFFF
##1978421.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D3E
Deuteranopia (green-blind)
#6D6646
Tritanopia (blue-blind)
#00766B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #197842;
/* rgb */ color: rgb(25, 120, 66);
/* oklch */ color: oklch(50.6% 0.120 152.9);
Tailwind
colors: {
  custom: {
    50: '#66a077',
    500: '#197842',
    950: '#000000',
  },
}
SCSS
$custom: #197842;
$custom-light: #66a077;
$custom-dark: #000000;
JSON
{
  "hex": "#197842",
  "rgb": {
    "r": 25,
    "g": 120,
    "b": 66
  },
  "hsl": {
    "h": 145.895,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50615,
    "c": 0.12027,
    "h": 152.9
  },
  "luminance": 0.14033
}

Semantic roles & 50–950 ramp

primary
#197842
secondary
#AD407E
accent
#3F9FE8
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #197842

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

Preview Lab → · Contrast checker → · Palette generator →

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