#197312#197312

#197312 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.152 H 142.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#197312
RGBrgb(25, 115, 18)
HSLhsl(116, 73%, 26%)
HSVhsv(116, 84%, 45%)
CMYKcmyk(78.3%, 0%, 84.3%, 54.9%)
CIE-LABlab(42.02, -44.14, 42.16)
CIE-LCHlch(42.02, 61.04, 136.31°)
OKLaboklab(48.57% -0.1202 0.0936)
OKLCHoklch(48.57% 0.152 142.1)
XYZxyz(6.6404, 12.5110, 2.6371)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197312 #6C1273
analogous
#497312 #197312 #12733B
triadic
#197312 #121973 #731219
tetradic
#197312 #124973 #6C1273 #733B12
square
#197312 #124973 #6C1273 #733B12
split-complementary
#197312 #3B1273 #731249
monochromatic
#061A04 #0D3E0A #197312 #25A81A #30DD23

Accessibility & contrast

On white

6.00
#197312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#197312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197312
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197312#FFFFFF#000000##FFFFFF
##1973121.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6C611E
Tritanopia (blue-blind)
#006F61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #197312;
/* rgb */ color: rgb(25, 115, 18);
/* oklch */ color: oklch(48.6% 0.152 142.1);
Tailwind
colors: {
  custom: {
    50: '#679c59',
    500: '#197312',
    950: '#000000',
  },
}
SCSS
$custom: #197312;
$custom-light: #679c59;
$custom-dark: #000000;
JSON
{
  "hex": "#197312",
  "rgb": {
    "r": 25,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 115.67,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48573,
    "c": 0.15233,
    "h": 142.1
  },
  "luminance": 0.12512
}

Semantic roles & 50–950 ramp

primary
#197312
secondary
#A137AA
accent
#38F0E2
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #197312

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

Preview Lab → · Contrast checker → · Palette generator →

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