#197B28#197B28

#197B28 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.148 H 145.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#197B28
RGBrgb(25, 123, 40)
HSLhsl(129, 66%, 29%)
HSVhsv(129, 80%, 48%)
CMYKcmyk(79.7%, 0%, 67.5%, 51.8%)
CIE-LABlab(44.98, -44.93, 36.52)
CIE-LCHlch(44.98, 57.90, 140.90°)
OKLaboklab(51.08% -0.1213 0.0848)
OKLCHoklch(51.08% 0.148 145)
XYZxyz(7.8663, 14.5249, 4.3961)
Luminance0.1453 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197B28 #7B196C
analogous
#3B7B19 #197B28 #197B59
triadic
#197B28 #28197B #7B2819
tetradic
#197B28 #193B7B #7B196C #7B5919
square
#197B28 #193B7B #7B196C #7B5919
split-complementary
#197B28 #59197B #7B193B
monochromatic
#051908 #0F4817 #197B28 #23AE39 #38D750

Accessibility & contrast

On white

5.38
#197B28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#197B28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197B28
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197B28#FFFFFF#000000##FFFFFF
##197B281.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1E
Deuteranopia (green-blind)
#72672F
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #197b28;
/* rgb */ color: rgb(25, 123, 40);
/* oklch */ color: oklch(51.1% 0.148 145.0);
Tailwind
colors: {
  custom: {
    50: '#68a266',
    500: '#197b28',
    950: '#000000',
  },
}
SCSS
$custom: #197b28;
$custom-light: #68a266;
$custom-dark: #000000;
JSON
{
  "hex": "#197b28",
  "rgb": {
    "r": 25,
    "g": 123,
    "b": 40
  },
  "hsl": {
    "h": 129.184,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51083,
    "c": 0.14796,
    "h": 145
  },
  "luminance": 0.14526
}

Semantic roles & 50–950 ramp

primary
#197B28
secondary
#AF409E
accent
#3FCFE9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #197B28

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

Preview Lab → · Contrast checker → · Palette generator →

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