#197512#197512

#197512 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.2% C 0.155 H 142.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#197512
RGBrgb(25, 117, 18)
HSLhsl(116, 73%, 26%)
HSVhsv(116, 85%, 46%)
CMYKcmyk(78.6%, 0%, 84.6%, 54.1%)
CIE-LABlab(42.72, -44.82, 42.82)
CIE-LCHlch(42.72, 61.99, 136.31°)
OKLaboklab(49.16% -0.122 0.095)
OKLCHoklch(49.16% 0.155 142.1)
XYZxyz(6.8710, 12.9721, 2.7139)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197512 #6E1275
analogous
#4B7512 #197512 #12753D
triadic
#197512 #121975 #751219
tetradic
#197512 #124B75 #6E1275 #753D12
square
#197512 #124B75 #6E1275 #753D12
split-complementary
#197512 #3D1275 #75124B
monochromatic
#061B04 #0E400A #197512 #24AA1A #31DD24

Accessibility & contrast

On white

5.84
#197512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#197512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197512
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197512#FFFFFF#000000##FFFFFF
##1975121.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6E621F
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #197512;
/* rgb */ color: rgb(25, 117, 18);
/* oklch */ color: oklch(49.2% 0.155 142.1);
Tailwind
colors: {
  custom: {
    50: '#689e5a',
    500: '#197512',
    950: '#000000',
  },
}
SCSS
$custom: #197512;
$custom-light: #689e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#197512",
  "rgb": {
    "r": 25,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 115.758,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49158,
    "c": 0.15462,
    "h": 142.1
  },
  "luminance": 0.12973
}

Semantic roles & 50–950 ramp

primary
#197512
secondary
#A337AC
accent
#38F0E3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #197512

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

Preview Lab → · Contrast checker → · Palette generator →

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