#197F31#197F31

#197F31 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.146 H 146.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#197F31
RGBrgb(25, 127, 49)
HSLhsl(134, 67%, 30%)
HSVhsv(134, 80%, 50%)
CMYKcmyk(80.3%, 0%, 61.4%, 50.2%)
CIE-LABlab(46.45, -45.21, 33.89)
CIE-LCHlch(46.45, 56.51, 143.14°)
OKLaboklab(52.34% -0.1217 0.0801)
OKLCHoklch(52.34% 0.146 146.7)
XYZxyz(8.5440, 15.6061, 5.4671)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197F31 #7F1967
analogous
#347F19 #197F31 #197F64
triadic
#197F31 #31197F #7F3119
tetradic
#197F31 #19347F #7F1967 #7F6419
square
#197F31 #19347F #7F1967 #7F6419
split-complementary
#197F31 #64197F #7F1934
monochromatic
#051A0A #0F4C1D #197F31 #23B245 #3AD85F

Accessibility & contrast

On white

5.10
#197F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#197F31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197F31
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197F31#FFFFFF#000000##FFFFFF
##197F311.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817329
Deuteranopia (green-blind)
#756B37
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #197f31;
/* rgb */ color: rgb(25, 127, 49);
/* oklch */ color: oklch(52.3% 0.146 146.7);
Tailwind
colors: {
  custom: {
    50: '#69a56c',
    500: '#197f31',
    950: '#000000',
  },
}
SCSS
$custom: #197f31;
$custom-light: #69a56c;
$custom-dark: #000000;
JSON
{
  "hex": "#197f31",
  "rgb": {
    "r": 25,
    "g": 127,
    "b": 49
  },
  "hsl": {
    "h": 134.118,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52339,
    "c": 0.14566,
    "h": 146.7
  },
  "luminance": 0.15607
}

Semantic roles & 50–950 ramp

primary
#197F31
secondary
#B34198
accent
#3EC1EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #197F31

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

Preview Lab → · Contrast checker → · Palette generator →

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