#1A7940#1A7940

#1A7940 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.123 H 151.8°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#1A7940
RGBrgb(26, 121, 64)
HSLhsl(144, 65%, 29%)
HSVhsv(144, 79%, 47%)
CMYKcmyk(78.5%, 0%, 47.1%, 52.5%)
CIE-LABlab(44.61, -40.42, 23.73)
CIE-LCHlch(44.61, 46.87, 149.58°)
OKLaboklab(50.88% -0.1087 0.0583)
OKLCHoklch(50.88% 0.123 151.8)
XYZxyz(8.1881, 14.2636, 7.1711)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7940 #791A53
analogous
#24791A #1A7940 #1A7970
triadic
#1A7940 #401A79 #79401A
tetradic
#1A7940 #1A2479 #791A53 #79701A
square
#1A7940 #1A2479 #791A53 #79701A
split-complementary
#1A7940 #701A79 #791A24
monochromatic
#05190D #0F4725 #1A7940 #25AB5B #39D477

Accessibility & contrast

On white

5.45
#1A7940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#1A7940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7940
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7940#FFFFFF#000000##FFFFFF
##1A79401.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E3C
Deuteranopia (green-blind)
#6E6644
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1a7940;
/* rgb */ color: rgb(26, 121, 64);
/* oklch */ color: oklch(50.9% 0.123 151.8);
Tailwind
colors: {
  custom: {
    50: '#67a175',
    500: '#1a7940',
    950: '#000000',
  },
}
SCSS
$custom: #1a7940;
$custom-light: #67a175;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7940",
  "rgb": {
    "r": 26,
    "g": 121,
    "b": 64
  },
  "hsl": {
    "h": 144,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50882,
    "c": 0.12334,
    "h": 151.8
  },
  "luminance": 0.14265
}

Semantic roles & 50–950 ramp

primary
#1A7940
secondary
#AD4182
accent
#40A5E8
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1A7940

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

Preview Lab → · Contrast checker → · Palette generator →

#1A7940 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva