#1A7342#1A7342

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

Color values

HEX#1A7342
RGBrgb(26, 115, 66)
HSLhsl(147, 63%, 28%)
HSVhsv(147, 77%, 45%)
CMYKcmyk(77.4%, 0%, 42.6%, 54.9%)
CIE-LABlab(42.57, -37.63, 19.96)
CIE-LCHlch(42.57, 42.60, 152.06°)
OKLaboklab(49.21% -0.1014 0.0496)
OKLCHoklch(49.21% 0.113 153.9)
XYZxyz(7.5394, 12.8735, 7.2407)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7342 #731A4B
analogous
#1F731A #1A7342 #1A736E
triadic
#1A7342 #421A73 #73421A
tetradic
#1A7342 #1A1F73 #731A4B #736E1A
square
#1A7342 #1A1F73 #731A4B #736E1A
split-complementary
#1A7342 #6E1A73 #731A1F
monochromatic
#06190E #0F4125 #1A7342 #25A55F #36D27C

Accessibility & contrast

On white

5.87
#1A7342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1A7342
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7342#FFFFFF#000000##FFFFFF
##1A73421.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73693F
Deuteranopia (green-blind)
#686145
Tritanopia (blue-blind)
#007267
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1a7342;
/* rgb */ color: rgb(26, 115, 66);
/* oklch */ color: oklch(49.2% 0.113 153.9);
Tailwind
colors: {
  custom: {
    50: '#659c77',
    500: '#1a7342',
    950: '#000000',
  },
}
SCSS
$custom: #1a7342;
$custom-light: #659c77;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7342",
  "rgb": {
    "r": 26,
    "g": 115,
    "b": 66
  },
  "hsl": {
    "h": 146.966,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49211,
    "c": 0.11289,
    "h": 153.9
  },
  "luminance": 0.12874
}

Semantic roles & 50–950 ramp

primary
#1A7342
secondary
#A8417A
accent
#429CE6
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #1A7342

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

Preview Lab → · Contrast checker → · Palette generator →

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