#197D31#197D31

#197D31 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.143 H 146.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#197D31
RGBrgb(25, 125, 49)
HSLhsl(134, 67%, 29%)
HSVhsv(134, 80%, 49%)
CMYKcmyk(80%, 0%, 60.8%, 51%)
CIE-LABlab(45.76, -44.50, 33.09)
CIE-LCHlch(45.76, 55.45, 143.36°)
OKLaboklab(51.77% -0.1197 0.0783)
OKLCHoklch(51.77% 0.143 146.8)
XYZxyz(8.2883, 15.0947, 5.3819)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197D31 #7D1965
analogous
#337D19 #197D31 #197D63
triadic
#197D31 #31197D #7D3119
tetradic
#197D31 #19337D #7D1965 #7D6319
square
#197D31 #19337D #7D1965 #7D6319
split-complementary
#197D31 #63197D #7D1933
monochromatic
#051A0A #0F4A1D #197D31 #23B045 #39D75F

Accessibility & contrast

On white

5.22
#197D31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#197D31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197D31
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197D31#FFFFFF#000000##FFFFFF
##197D311.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7129
Deuteranopia (green-blind)
#746937
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #197d31;
/* rgb */ color: rgb(25, 125, 49);
/* oklch */ color: oklch(51.8% 0.143 146.8);
Tailwind
colors: {
  custom: {
    50: '#68a46c',
    500: '#197d31',
    950: '#000000',
  },
}
SCSS
$custom: #197d31;
$custom-light: #68a46c;
$custom-dark: #000000;
JSON
{
  "hex": "#197d31",
  "rgb": {
    "r": 25,
    "g": 125,
    "b": 49
  },
  "hsl": {
    "h": 134.4,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51767,
    "c": 0.14309,
    "h": 146.8
  },
  "luminance": 0.15096
}

Semantic roles & 50–950 ramp

primary
#197D31
secondary
#B14096
accent
#3EC0EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #197D31

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

Preview Lab → · Contrast checker → · Palette generator →

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