#1A6740#1A6740

#1A6740 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.7% C 0.097 H 156.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#1A6740
RGBrgb(26, 103, 64)
HSLhsl(150, 60%, 25%)
HSVhsv(150, 75%, 40%)
CMYKcmyk(74.8%, 0%, 37.9%, 59.6%)
CIE-LABlab(38.36, -33.01, 15.52)
CIE-LCHlch(38.36, 36.48, 154.82°)
OKLaboklab(45.73% -0.0894 0.039)
OKLCHoklch(45.73% 0.097 156.4)
XYZxyz(6.2011, 10.2896, 6.5088)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A6740 #671A41
analogous
#1B671A #1A6740 #1A6766
triadic
#1A6740 #401A67 #67401A
tetradic
#1A6740 #1A1B67 #671A41 #67661A
square
#1A6740 #1A1B67 #671A41 #67661A
split-complementary
#1A6740 #661A67 #671A1B
monochromatic
#06180F #0E3622 #1A6740 #26985E #33C97D

Accessibility & contrast

On white

6.87
#1A6740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#1A6740 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A6740
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A6740#FFFFFF#000000##FFFFFF
##1A67401.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665E3D
Deuteranopia (green-blind)
#5D5843
Tritanopia (blue-blind)
#00665D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1a6740;
/* rgb */ color: rgb(26, 103, 64);
/* oklch */ color: oklch(45.7% 0.097 156.4);
Tailwind
colors: {
  custom: {
    50: '#629375',
    500: '#1a6740',
    950: '#000000',
  },
}
SCSS
$custom: #1a6740;
$custom-light: #629375;
$custom-dark: #000000;
JSON
{
  "hex": "#1a6740",
  "rgb": {
    "r": 26,
    "g": 103,
    "b": 64
  },
  "hsl": {
    "h": 149.61,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45725,
    "c": 0.09749,
    "h": 156.4
  },
  "luminance": 0.1029
}

Semantic roles & 50–950 ramp

primary
#1A6740
secondary
#9D406F
accent
#4595E3
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #1A6740

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

Preview Lab → · Contrast checker → · Palette generator →

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