#197F28#197F28

#197F28 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.153 H 144.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#197F28
RGBrgb(25, 127, 40)
HSLhsl(129, 67%, 30%)
HSVhsv(129, 80%, 50%)
CMYKcmyk(80.3%, 0%, 68.5%, 50.2%)
CIE-LABlab(46.36, -46.33, 38.04)
CIE-LCHlch(46.36, 59.94, 140.61°)
OKLaboklab(52.23% -0.125 0.088)
OKLCHoklch(52.23% 0.153 144.9)
XYZxyz(8.3727, 15.5376, 4.5649)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197F28 #7F1970
analogous
#3D7F19 #197F28 #197F5B
triadic
#197F28 #28197F #7F2819
tetradic
#197F28 #193D7F #7F1970 #7F5B19
square
#197F28 #193D7F #7F1970 #7F5B19
split-complementary
#197F28 #5B197F #7F193D
monochromatic
#051A08 #0F4C18 #197F28 #23B238 #3AD851

Accessibility & contrast

On white

5.11
#197F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#197F28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197F28
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197F28#FFFFFF#000000##FFFFFF
##197F281.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81731D
Deuteranopia (green-blind)
#766B30
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #197f28;
/* rgb */ color: rgb(25, 127, 40);
/* oklch */ color: oklch(52.2% 0.153 144.9);
Tailwind
colors: {
  custom: {
    50: '#69a566',
    500: '#197f28',
    950: '#000000',
  },
}
SCSS
$custom: #197f28;
$custom-light: #69a566;
$custom-dark: #000000;
JSON
{
  "hex": "#197f28",
  "rgb": {
    "r": 25,
    "g": 127,
    "b": 40
  },
  "hsl": {
    "h": 128.824,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52233,
    "c": 0.15292,
    "h": 144.9
  },
  "luminance": 0.15539
}

Semantic roles & 50–950 ramp

primary
#197F28
secondary
#B341A2
accent
#3ED1EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #197F28

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

Preview Lab → · Contrast checker → · Palette generator →

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