#1A7842#1A7842

#1A7842 is a mid, moderate green. Relative luminance 0.140; OKLCH L 50.6% C 0.120 H 152.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#1A7842
RGBrgb(26, 120, 66)
HSLhsl(146, 64%, 29%)
HSVhsv(146, 78%, 47%)
CMYKcmyk(78.3%, 0%, 45%, 52.9%)
CIE-LABlab(44.30, -39.64, 22.21)
CIE-LCHlch(44.30, 45.44, 150.74°)
OKLaboklab(50.64% -0.1067 0.0549)
OKLCHoklch(50.64% 0.12 152.8)
XYZxyz(8.1251, 14.0449, 7.4359)
Luminance0.1405 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7842 #781A50
analogous
#21781A #1A7842 #1A7871
triadic
#1A7842 #421A78 #78421A
tetradic
#1A7842 #1A2178 #781A50 #78711A
square
#1A7842 #1A2178 #781A50 #78711A
split-complementary
#1A7842 #711A78 #781A21
monochromatic
#05190E #0F4626 #1A7842 #25AA5E #38D47B

Accessibility & contrast

On white

5.51
#1A7842 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#1A7842 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7842
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7842#FFFFFF#000000##FFFFFF
##1A78421.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D3E
Deuteranopia (green-blind)
#6D6646
Tritanopia (blue-blind)
#00766B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1a7842;
/* rgb */ color: rgb(26, 120, 66);
/* oklch */ color: oklch(50.6% 0.120 152.8);
Tailwind
colors: {
  custom: {
    50: '#67a077',
    500: '#1a7842',
    950: '#000000',
  },
}
SCSS
$custom: #1a7842;
$custom-light: #67a077;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7842",
  "rgb": {
    "r": 26,
    "g": 120,
    "b": 66
  },
  "hsl": {
    "h": 145.532,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50636,
    "c": 0.11996,
    "h": 152.8
  },
  "luminance": 0.14046
}

Semantic roles & 50–950 ramp

primary
#1A7842
secondary
#AC417F
accent
#40A0E7
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #1A7842

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

Preview Lab → · Contrast checker → · Palette generator →

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