#197B22#197B22

#197B22 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.0% C 0.152 H 144.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#197B22
RGBrgb(25, 123, 34)
HSLhsl(126, 66%, 29%)
HSVhsv(126, 80%, 48%)
CMYKcmyk(79.7%, 0%, 72.4%, 51.8%)
CIE-LABlab(44.92, -45.58, 39.11)
CIE-LCHlch(44.92, 60.06, 139.37°)
OKLaboklab(51.02% -0.1233 0.0895)
OKLCHoklch(51.02% 0.152 144)
XYZxyz(7.7721, 14.4872, 3.8998)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197B22 #7B1972
analogous
#417B19 #197B22 #197B53
triadic
#197B22 #22197B #7B2219
tetradic
#197B22 #19417B #7B1972 #7B5319
square
#197B22 #19417B #7B1972 #7B5319
split-complementary
#197B22 #53197B #7B1941
monochromatic
#051907 #0F4814 #197B22 #23AE30 #38D746

Accessibility & contrast

On white

5.39
#197B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#197B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197B22
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197B22#FFFFFF#000000##FFFFFF
##197B221.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F15
Deuteranopia (green-blind)
#73672B
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #197b22;
/* rgb */ color: rgb(25, 123, 34);
/* oklch */ color: oklch(51.0% 0.152 144.0);
Tailwind
colors: {
  custom: {
    50: '#68a262',
    500: '#197b22',
    950: '#000000',
  },
}
SCSS
$custom: #197b22;
$custom-light: #68a262;
$custom-dark: #000000;
JSON
{
  "hex": "#197b22",
  "rgb": {
    "r": 25,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 125.51,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51022,
    "c": 0.15237,
    "h": 144
  },
  "luminance": 0.14488
}

Semantic roles & 50–950 ramp

primary
#197B22
secondary
#AF40A5
accent
#3FD9E9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #197B22

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

Preview Lab → · Contrast checker → · Palette generator →

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