#197827#197827

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

Color values

HEX#197827
RGBrgb(25, 120, 39)
HSLhsl(129, 66%, 28%)
HSVhsv(129, 79%, 47%)
CMYKcmyk(79.2%, 0%, 67.5%, 52.9%)
CIE-LABlab(43.92, -43.99, 35.82)
CIE-LCHlch(43.92, 56.73, 140.85°)
OKLaboklab(50.21% -0.1187 0.0832)
OKLCHoklch(50.21% 0.145 145)
XYZxyz(7.4831, 13.7852, 4.1855)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197827 #78196A
analogous
#3A7819 #197827 #197856
triadic
#197827 #271978 #782719
tetradic
#197827 #193A78 #78196A #785619
square
#197827 #193A78 #78196A #785619
split-complementary
#197827 #561978 #78193A
monochromatic
#051908 #0E4517 #197827 #24AB37 #36D54E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##197827#FFFFFF#000000##FFFFFF
##1978271.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)
#7A6C1D
Deuteranopia (green-blind)
#70652E
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #197827;
/* rgb */ color: rgb(25, 120, 39);
/* oklch */ color: oklch(50.2% 0.145 145.0);
Tailwind
colors: {
  custom: {
    50: '#67a065',
    500: '#197827',
    950: '#000000',
  },
}
SCSS
$custom: #197827;
$custom-light: #67a065;
$custom-dark: #000000;
JSON
{
  "hex": "#197827",
  "rgb": {
    "r": 25,
    "g": 120,
    "b": 39
  },
  "hsl": {
    "h": 128.842,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50205,
    "c": 0.14499,
    "h": 145
  },
  "luminance": 0.13786
}

Semantic roles & 50–950 ramp

primary
#197827
secondary
#AD409D
accent
#3FD0E8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #197827

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

Preview Lab → · Contrast checker → · Palette generator →

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