#197840#197840

#197840 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.122 H 152.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#197840
RGBrgb(25, 120, 64)
HSLhsl(145, 66%, 28%)
HSVhsv(145, 79%, 47%)
CMYKcmyk(79.2%, 0%, 46.7%, 52.9%)
CIE-LABlab(44.25, -40.17, 23.26)
CIE-LCHlch(44.25, 46.42, 149.93°)
OKLaboklab(50.58% -0.108 0.0572)
OKLCHoklch(50.58% 0.122 152.1)
XYZxyz(8.0421, 14.0088, 7.1296)
Luminance0.1401 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197840 #781951
analogous
#217819 #197840 #19786F
triadic
#197840 #401978 #784019
tetradic
#197840 #192178 #781951 #786F19
square
#197840 #192178 #781951 #786F19
split-complementary
#197840 #6F1978 #781921
monochromatic
#05190E #0E4525 #197840 #24AB5B #36D577

Accessibility & contrast

On white

5.52
#197840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#197840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197840
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197840#FFFFFF#000000##FFFFFF
##1978401.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D3C
Deuteranopia (green-blind)
#6D6544
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #197840;
/* rgb */ color: rgb(25, 120, 64);
/* oklch */ color: oklch(50.6% 0.122 152.1);
Tailwind
colors: {
  custom: {
    50: '#66a075',
    500: '#197840',
    950: '#000000',
  },
}
SCSS
$custom: #197840;
$custom-light: #66a075;
$custom-dark: #000000;
JSON
{
  "hex": "#197840",
  "rgb": {
    "r": 25,
    "g": 120,
    "b": 64
  },
  "hsl": {
    "h": 144.632,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50577,
    "c": 0.12225,
    "h": 152.1
  },
  "luminance": 0.1401
}

Semantic roles & 50–950 ramp

primary
#197840
secondary
#AD4080
accent
#3FA3E8
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #197840

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

Preview Lab → · Contrast checker → · Palette generator →

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