#197E40#197E40

#197E40 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.131 H 151.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#197E40
RGBrgb(25, 126, 64)
HSLhsl(143, 67%, 30%)
HSVhsv(143, 80%, 49%)
CMYKcmyk(80.2%, 0%, 49.2%, 50.6%)
CIE-LABlab(46.31, -42.49, 25.89)
CIE-LCHlch(46.31, 49.76, 148.64°)
OKLaboklab(52.28% -0.1142 0.0633)
OKLCHoklch(52.28% 0.131 151)
XYZxyz(8.7864, 15.4975, 7.3777)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197E40 #7E1957
analogous
#257E19 #197E40 #197E72
triadic
#197E40 #40197E #7E4019
tetradic
#197E40 #19257E #7E1957 #7E7219
square
#197E40 #19257E #7E1957 #7E7219
split-complementary
#197E40 #72197E #7E1925
monochromatic
#051A0D #0F4B26 #197E40 #23B15A #3AD877

Accessibility & contrast

On white

5.12
#197E40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#197E40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197E40
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197E40#FFFFFF#000000##FFFFFF
##197E401.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F733B
Deuteranopia (green-blind)
#736A44
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #197e40;
/* rgb */ color: rgb(25, 126, 64);
/* oklch */ color: oklch(52.3% 0.131 151.0);
Tailwind
colors: {
  custom: {
    50: '#68a476',
    500: '#197e40',
    950: '#000000',
  },
}
SCSS
$custom: #197e40;
$custom-light: #68a476;
$custom-dark: #000000;
JSON
{
  "hex": "#197e40",
  "rgb": {
    "r": 25,
    "g": 126,
    "b": 64
  },
  "hsl": {
    "h": 143.168,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52283,
    "c": 0.13052,
    "h": 151
  },
  "luminance": 0.15499
}

Semantic roles & 50–950 ramp

primary
#197E40
secondary
#B24186
accent
#3EA7EA
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #197E40

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

Preview Lab → · Contrast checker → · Palette generator →

#197E40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva