#197822#197822

#197822 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.2% C 0.149 H 144.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#197822
RGBrgb(25, 120, 34)
HSLhsl(126, 66%, 28%)
HSVhsv(126, 79%, 47%)
CMYKcmyk(79.2%, 0%, 71.7%, 52.9%)
CIE-LABlab(43.88, -44.54, 38.01)
CIE-LCHlch(43.88, 58.55, 139.52°)
OKLaboklab(50.15% -0.1205 0.0872)
OKLCHoklch(50.15% 0.149 144.1)
XYZxyz(7.4056, 13.7542, 3.7776)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197822 #78196F
analogous
#3F7819 #197822 #197851
triadic
#197822 #221978 #782219
tetradic
#197822 #193F78 #78196F #785119
square
#197822 #193F78 #78196F #785119
split-complementary
#197822 #511978 #78193F
monochromatic
#051907 #0E4514 #197822 #24AB30 #36D545

Accessibility & contrast

On white

5.60
#197822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#197822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197822
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197822#FFFFFF#000000##FFFFFF
##1978221.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C15
Deuteranopia (green-blind)
#70652A
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #197822;
/* rgb */ color: rgb(25, 120, 34);
/* oklch */ color: oklch(50.2% 0.149 144.1);
Tailwind
colors: {
  custom: {
    50: '#68a062',
    500: '#197822',
    950: '#000000',
  },
}
SCSS
$custom: #197822;
$custom-light: #68a062;
$custom-dark: #000000;
JSON
{
  "hex": "#197822",
  "rgb": {
    "r": 25,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 125.684,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50154,
    "c": 0.14872,
    "h": 144.1
  },
  "luminance": 0.13755
}

Semantic roles & 50–950 ramp

primary
#197822
secondary
#AD40A2
accent
#3FD8E8
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F05
muted
#7A7E7A

Preview Lab

Preview with #197822

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

Preview Lab → · Contrast checker → · Palette generator →

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