#197828#197828

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

Color values

HEX#197828
RGBrgb(25, 120, 40)
HSLhsl(129, 66%, 28%)
HSVhsv(129, 79%, 47%)
CMYKcmyk(79.2%, 0%, 66.7%, 52.9%)
CIE-LABlab(43.93, -43.87, 35.36)
CIE-LCHlch(43.93, 56.35, 141.13°)
OKLaboklab(50.22% -0.1184 0.0823)
OKLCHoklch(50.22% 0.144 145.2)
XYZxyz(7.4999, 13.7919, 4.2739)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197828 #781969
analogous
#397819 #197828 #197857
triadic
#197828 #281978 #782819
tetradic
#197828 #193978 #781969 #785719
square
#197828 #193978 #781969 #785719
split-complementary
#197828 #571978 #781939
monochromatic
#051908 #0E4517 #197828 #24AB39 #36D54F

Accessibility & contrast

On white

5.59
#197828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#197828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197828
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197828#FFFFFF#000000##FFFFFF
##1978281.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C1E
Deuteranopia (green-blind)
#6F652F
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #197828;
/* rgb */ color: rgb(25, 120, 40);
/* oklch */ color: oklch(50.2% 0.144 145.2);
Tailwind
colors: {
  custom: {
    50: '#67a065',
    500: '#197828',
    950: '#000000',
  },
}
SCSS
$custom: #197828;
$custom-light: #67a065;
$custom-dark: #000000;
JSON
{
  "hex": "#197828",
  "rgb": {
    "r": 25,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 129.474,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50217,
    "c": 0.14419,
    "h": 145.2
  },
  "luminance": 0.13793
}

Semantic roles & 50–950 ramp

primary
#197828
secondary
#AD409C
accent
#3FCEE8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #197828

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

Preview Lab → · Contrast checker → · Palette generator →

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