#197816#197816

#197816 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.156 H 142.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#197816
RGBrgb(25, 120, 22)
HSLhsl(118, 69%, 28%)
HSVhsv(118, 82%, 47%)
CMYKcmyk(79.2%, 0%, 81.7%, 52.9%)
CIE-LABlab(43.79, -45.57, 42.55)
CIE-LCHlch(43.79, 62.35, 136.96°)
OKLaboklab(50.06% -0.1238 0.095)
OKLCHoklch(50.06% 0.156 142.5)
XYZxyz(7.2617, 13.6967, 3.0199)
Luminance0.1370 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197816 #751678
analogous
#4A7816 #197816 #167844
triadic
#197816 #161978 #781619
tetradic
#197816 #164A78 #751678 #784416
square
#197816 #164A78 #751678 #784416
split-complementary
#197816 #441678 #78164A
monochromatic
#051A05 #0E440D #197816 #24AC1F #35D92F

Accessibility & contrast

On white

5.62
#197816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#197816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197816
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197816#FFFFFF#000000##FFFFFF
##1978161.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#706522
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #197816;
/* rgb */ color: rgb(25, 120, 22);
/* oklch */ color: oklch(50.1% 0.156 142.5);
Tailwind
colors: {
  custom: {
    50: '#68a05c',
    500: '#197816',
    950: '#000000',
  },
}
SCSS
$custom: #197816;
$custom-light: #68a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#197816",
  "rgb": {
    "r": 25,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 118.163,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50057,
    "c": 0.15611,
    "h": 142.5
  },
  "luminance": 0.13698
}

Semantic roles & 50–950 ramp

primary
#197816
secondary
#AA3CAD
accent
#3CECE6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #197816

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

Preview Lab → · Contrast checker → · Palette generator →

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