#197540#197540

#197540 is a mid, moderate green. Relative luminance 0.133; OKLCH L 49.7% C 0.118 H 152.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#197540
RGBrgb(25, 117, 64)
HSLhsl(145, 65%, 28%)
HSVhsv(145, 79%, 46%)
CMYKcmyk(78.6%, 0%, 45.3%, 54.1%)
CIE-LABlab(43.21, -38.99, 21.92)
CIE-LCHlch(43.21, 44.73, 150.65°)
OKLaboklab(49.72% -0.1049 0.0541)
OKLCHoklch(49.72% 0.118 152.7)
XYZxyz(7.6869, 13.2985, 7.0112)
Luminance0.1330 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197540 #75194E
analogous
#207519 #197540 #19756E
triadic
#197540 #401975 #754019
tetradic
#197540 #192075 #75194E #756E19
square
#197540 #192075 #75194E #756E19
split-complementary
#197540 #6E1975 #751920
monochromatic
#05190E #0E4324 #197540 #24A75C #35D478

Accessibility & contrast

On white

5.74
#197540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#197540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197540
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197540#FFFFFF#000000##FFFFFF
##1975401.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756B3C
Deuteranopia (green-blind)
#6A6344
Tritanopia (blue-blind)
#007368
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #197540;
/* rgb */ color: rgb(25, 117, 64);
/* oklch */ color: oklch(49.7% 0.118 152.7);
Tailwind
colors: {
  custom: {
    50: '#669e75',
    500: '#197540',
    950: '#000000',
  },
}
SCSS
$custom: #197540;
$custom-light: #669e75;
$custom-dark: #000000;
JSON
{
  "hex": "#197540",
  "rgb": {
    "r": 25,
    "g": 117,
    "b": 64
  },
  "hsl": {
    "h": 145.435,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49721,
    "c": 0.11805,
    "h": 152.7
  },
  "luminance": 0.13299
}

Semantic roles & 50–950 ramp

primary
#197540
secondary
#AA407D
accent
#40A1E8
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #197540

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

Preview Lab → · Contrast checker → · Palette generator →

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