#197838#197838

#197838 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.130 H 149.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#197838
RGBrgb(25, 120, 56)
HSLhsl(140, 66%, 28%)
HSVhsv(140, 79%, 47%)
CMYKcmyk(79.2%, 0%, 53.3%, 52.9%)
CIE-LABlab(44.12, -41.59, 27.49)
CIE-LCHlch(44.12, 49.85, 146.54°)
OKLaboklab(50.44% -0.1118 0.0665)
OKLCHoklch(50.44% 0.13 149.3)
XYZxyz(7.8305, 13.9242, 6.0156)
Luminance0.1393 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197838 #781959
analogous
#297819 #197838 #197867
triadic
#197838 #381978 #783819
tetradic
#197838 #192978 #781959 #786719
square
#197838 #192978 #781959 #786719
split-complementary
#197838 #671978 #781929
monochromatic
#05190C #0E4520 #197838 #24AB50 #36D56A

Accessibility & contrast

On white

5.55
#197838 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#197838 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197838
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197838#FFFFFF#000000##FFFFFF
##1978381.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D33
Deuteranopia (green-blind)
#6E653D
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #197838;
/* rgb */ color: rgb(25, 120, 56);
/* oklch */ color: oklch(50.4% 0.130 149.3);
Tailwind
colors: {
  custom: {
    50: '#67a070',
    500: '#197838',
    950: '#000000',
  },
}
SCSS
$custom: #197838;
$custom-light: #67a070;
$custom-dark: #000000;
JSON
{
  "hex": "#197838",
  "rgb": {
    "r": 25,
    "g": 120,
    "b": 56
  },
  "hsl": {
    "h": 139.579,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50437,
    "c": 0.13005,
    "h": 149.3
  },
  "luminance": 0.13925
}

Semantic roles & 50–950 ramp

primary
#197838
secondary
#AD4089
accent
#3FB1E8
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #197838

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

Preview Lab → · Contrast checker → · Palette generator →

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