#197D38#197D38

#197D38 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.137 H 148.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#197D38
RGBrgb(25, 125, 56)
HSLhsl(139, 67%, 29%)
HSVhsv(139, 80%, 49%)
CMYKcmyk(80%, 0%, 55.2%, 51%)
CIE-LABlab(45.85, -43.46, 29.61)
CIE-LCHlch(45.85, 52.59, 145.74°)
OKLaboklab(51.87% -0.1168 0.0712)
OKLCHoklch(51.87% 0.137 148.6)
XYZxyz(8.4476, 15.1584, 6.2213)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197D38 #7D195E
analogous
#2C7D19 #197D38 #197D6A
triadic
#197D38 #38197D #7D3819
tetradic
#197D38 #192C7D #7D195E #7D6A19
square
#197D38 #192C7D #7D195E #7D6A19
split-complementary
#197D38 #6A197D #7D192C
monochromatic
#051A0B #0F4A21 #197D38 #23B04F #39D76A

Accessibility & contrast

On white

5.21
#197D38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#197D38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197D38
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197D38#FFFFFF#000000##FFFFFF
##197D381.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7132
Deuteranopia (green-blind)
#73693D
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #197d38;
/* rgb */ color: rgb(25, 125, 56);
/* oklch */ color: oklch(51.9% 0.137 148.6);
Tailwind
colors: {
  custom: {
    50: '#68a470',
    500: '#197d38',
    950: '#000000',
  },
}
SCSS
$custom: #197d38;
$custom-light: #68a470;
$custom-dark: #000000;
JSON
{
  "hex": "#197d38",
  "rgb": {
    "r": 25,
    "g": 125,
    "b": 56
  },
  "hsl": {
    "h": 138.6,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51867,
    "c": 0.13678,
    "h": 148.6
  },
  "luminance": 0.15159
}

Semantic roles & 50–950 ramp

primary
#197D38
secondary
#B1408E
accent
#3EB4EA
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #197D38

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

Preview Lab → · Contrast checker → · Palette generator →

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