#197915#197915

#197915 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.3% C 0.158 H 142.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#197915
RGBrgb(25, 121, 21)
HSLhsl(118, 70%, 28%)
HSVhsv(118, 83%, 47%)
CMYKcmyk(79.3%, 0%, 82.6%, 52.5%)
CIE-LABlab(44.14, -45.98, 43.21)
CIE-LCHlch(44.14, 63.10, 136.78°)
OKLaboklab(50.34% -0.125 0.0963)
OKLCHoklch(50.34% 0.158 142.4)
XYZxyz(7.3732, 13.9347, 3.0104)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197915 #751579
analogous
#4B7915 #197915 #157943
triadic
#197915 #151979 #791519
tetradic
#197915 #154B79 #751579 #794315
square
#197915 #154B79 #751579 #794315
split-complementary
#197915 #431579 #79154B
monochromatic
#051A05 #0E450C #197915 #24AD1E #35DB2E

Accessibility & contrast

On white

5.54
#197915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#197915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197915
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197915#FFFFFF#000000##FFFFFF
##1979151.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#716621
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #197915;
/* rgb */ color: rgb(25, 121, 21);
/* oklch */ color: oklch(50.3% 0.158 142.4);
Tailwind
colors: {
  custom: {
    50: '#69a15c',
    500: '#197915',
    950: '#000000',
  },
}
SCSS
$custom: #197915;
$custom-light: #69a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#197915",
  "rgb": {
    "r": 25,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 117.6,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50342,
    "c": 0.15776,
    "h": 142.4
  },
  "luminance": 0.13936
}

Semantic roles & 50–950 ramp

primary
#197915
secondary
#AA3BAF
accent
#3BEDE6
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #197915

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

Preview Lab → · Contrast checker → · Palette generator →

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