#197F12#197F12

#197F12 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.166 H 142.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#197F12
RGBrgb(25, 127, 18)
HSLhsl(116, 75%, 28%)
HSVhsv(116, 86%, 50%)
CMYKcmyk(80.3%, 0%, 85.8%, 50.2%)
CIE-LABlab(46.22, -48.15, 46.05)
CIE-LCHlch(46.22, 66.62, 136.28°)
OKLaboklab(52.06% -0.131 0.1017)
OKLCHoklch(52.06% 0.166 142.2)
XYZxyz(8.0990, 15.4281, 3.1232)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197F12 #78127F
analogous
#4F7F12 #197F12 #127F41
triadic
#197F12 #12197F #7F1219
tetradic
#197F12 #124F7F #78127F #7F4112
square
#197F12 #124F7F #78127F #7F4112
split-complementary
#197F12 #41127F #7F124F
monochromatic
#051B04 #0E490A #197F12 #24B51A #36E12B

Accessibility & contrast

On white

5.14
#197F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#197F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197F12
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197F12#FFFFFF#000000##FFFFFF
##197F121.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B21
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #197f12;
/* rgb */ color: rgb(25, 127, 18);
/* oklch */ color: oklch(52.1% 0.166 142.2);
Tailwind
colors: {
  custom: {
    50: '#6aa55b',
    500: '#197f12',
    950: '#000000',
  },
}
SCSS
$custom: #197f12;
$custom-light: #6aa55b;
$custom-dark: #000000;
JSON
{
  "hex": "#197f12",
  "rgb": {
    "r": 25,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 116.147,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52064,
    "c": 0.16586,
    "h": 142.2
  },
  "luminance": 0.15429
}

Semantic roles & 50–950 ramp

primary
#197F12
secondary
#AD38B5
accent
#36F2E6
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #197F12

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

Preview Lab → · Contrast checker → · Palette generator →

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