#1A7340#1A7340

#1A7340 is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.2% C 0.115 H 153.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#1A7340
RGBrgb(26, 115, 64)
HSLhsl(146, 63%, 28%)
HSVhsv(146, 77%, 45%)
CMYKcmyk(77.4%, 0%, 44.3%, 54.9%)
CIE-LABlab(42.54, -38.03, 21.05)
CIE-LCHlch(42.54, 43.47, 151.03°)
OKLaboklab(49.17% -0.1024 0.0521)
OKLCHoklch(49.17% 0.115 153)
XYZxyz(7.4815, 12.8504, 6.9356)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7340 #731A4D
analogous
#20731A #1A7340 #1A736D
triadic
#1A7340 #401A73 #73401A
tetradic
#1A7340 #1A2073 #731A4D #736D1A
square
#1A7340 #1A2073 #731A4D #736D1A
split-complementary
#1A7340 #6D1A73 #731A20
monochromatic
#06190E #0F4124 #1A7340 #25A55C #36D278

Accessibility & contrast

On white

5.88
#1A7340 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#1A7340 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7340
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7340#FFFFFF#000000##FFFFFF
##1A73401.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73693C
Deuteranopia (green-blind)
#686143
Tritanopia (blue-blind)
#007166
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1a7340;
/* rgb */ color: rgb(26, 115, 64);
/* oklch */ color: oklch(49.2% 0.115 153.0);
Tailwind
colors: {
  custom: {
    50: '#659c75',
    500: '#1a7340',
    950: '#000000',
  },
}
SCSS
$custom: #1a7340;
$custom-light: #659c75;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7340",
  "rgb": {
    "r": 26,
    "g": 115,
    "b": 64
  },
  "hsl": {
    "h": 145.618,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49171,
    "c": 0.11491,
    "h": 153
  },
  "luminance": 0.12851
}

Semantic roles & 50–950 ramp

primary
#1A7340
secondary
#A8417C
accent
#42A0E6
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #1A7340

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

Preview Lab → · Contrast checker → · Palette generator →

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