#197B31#197B31

#197B31 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.140 H 147.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#197B31
RGBrgb(25, 123, 49)
HSLhsl(135, 66%, 29%)
HSVhsv(135, 80%, 48%)
CMYKcmyk(79.7%, 0%, 60.2%, 51.8%)
CIE-LABlab(45.07, -43.78, 32.28)
CIE-LCHlch(45.07, 54.39, 143.60°)
OKLaboklab(51.19% -0.1178 0.0766)
OKLCHoklch(51.19% 0.14 147)
XYZxyz(8.0376, 14.5934, 5.2983)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197B31 #7B1963
analogous
#327B19 #197B31 #197B62
triadic
#197B31 #31197B #7B3119
tetradic
#197B31 #19327B #7B1963 #7B6219
square
#197B31 #19327B #7B1963 #7B6219
split-complementary
#197B31 #62197B #7B1932
monochromatic
#05190A #0F481D #197B31 #23AE45 #38D75F

Accessibility & contrast

On white

5.36
#197B31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#197B31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197B31
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197B31#FFFFFF#000000##FFFFFF
##197B311.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F2A
Deuteranopia (green-blind)
#726837
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #197b31;
/* rgb */ color: rgb(25, 123, 49);
/* oklch */ color: oklch(51.2% 0.140 147.0);
Tailwind
colors: {
  custom: {
    50: '#68a26b',
    500: '#197b31',
    950: '#000000',
  },
}
SCSS
$custom: #197b31;
$custom-light: #68a26b;
$custom-dark: #000000;
JSON
{
  "hex": "#197b31",
  "rgb": {
    "r": 25,
    "g": 123,
    "b": 49
  },
  "hsl": {
    "h": 134.694,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51193,
    "c": 0.14048,
    "h": 147
  },
  "luminance": 0.14594
}

Semantic roles & 50–950 ramp

primary
#197B31
secondary
#AF4094
accent
#3FBFE9
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #197B31

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

Preview Lab → · Contrast checker → · Palette generator →

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