#197731#197731

#197731 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.0% C 0.135 H 147.3°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#197731
RGBrgb(25, 119, 49)
HSLhsl(135, 65%, 28%)
HSVhsv(135, 79%, 47%)
CMYKcmyk(79%, 0%, 58.8%, 53.3%)
CIE-LABlab(43.68, -42.31, 30.64)
CIE-LCHlch(43.68, 52.24, 144.09°)
OKLaboklab(50.04% -0.1138 0.073)
OKLCHoklch(50.04% 0.135 147.3)
XYZxyz(7.5515, 13.6212, 5.1363)
Luminance0.1362 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197731 #77195F
analogous
#307719 #197731 #197760
triadic
#197731 #311977 #773119
tetradic
#197731 #193077 #77195F #776019
square
#197731 #193077 #77195F #776019
split-complementary
#197731 #601977 #771930
monochromatic
#05190A #0E441C #197731 #24AA46 #36D55E

Accessibility & contrast

On white

5.64
#197731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#197731 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197731
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197731#FFFFFF#000000##FFFFFF
##1977311.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786C2A
Deuteranopia (green-blind)
#6E6437
Tritanopia (blue-blind)
#007467
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #197731;
/* rgb */ color: rgb(25, 119, 49);
/* oklch */ color: oklch(50.0% 0.135 147.3);
Tailwind
colors: {
  custom: {
    50: '#679f6b',
    500: '#197731',
    950: '#000000',
  },
}
SCSS
$custom: #197731;
$custom-light: #679f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#197731",
  "rgb": {
    "r": 25,
    "g": 119,
    "b": 49
  },
  "hsl": {
    "h": 135.319,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50043,
    "c": 0.13522,
    "h": 147.3
  },
  "luminance": 0.13622
}

Semantic roles & 50–950 ramp

primary
#197731
secondary
#AC4090
accent
#40BDE8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #197731

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

Preview Lab → · Contrast checker → · Palette generator →

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