#1A7142#1A7142

#1A7142 is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.6% C 0.110 H 154.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#1A7142
RGBrgb(26, 113, 66)
HSLhsl(148, 63%, 27%)
HSVhsv(148, 77%, 44%)
CMYKcmyk(77%, 0%, 41.6%, 55.7%)
CIE-LABlab(41.88, -36.81, 19.05)
CIE-LCHlch(41.88, 41.45, 152.64°)
OKLaboklab(48.64% -0.0993 0.0474)
OKLCHoklch(48.64% 0.11 154.5)
XYZxyz(7.3138, 12.4224, 7.1655)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7142 #711A49
analogous
#1E711A #1A7142 #1A716E
triadic
#1A7142 #421A71 #71421A
tetradic
#1A7142 #1A1E71 #711A49 #716E1A
square
#1A7142 #1A1E71 #711A49 #716E1A
split-complementary
#1A7142 #6E1A71 #711A1E
monochromatic
#06190F #0F3F25 #1A7142 #25A35F #35D07C

Accessibility & contrast

On white

6.03
#1A7142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#1A7142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7142
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7142#FFFFFF#000000##FFFFFF
##1A71421.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71673F
Deuteranopia (green-blind)
#666045
Tritanopia (blue-blind)
#007065
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1a7142;
/* rgb */ color: rgb(26, 113, 66);
/* oklch */ color: oklch(48.6% 0.110 154.5);
Tailwind
colors: {
  custom: {
    50: '#659b77',
    500: '#1a7142',
    950: '#000000',
  },
}
SCSS
$custom: #1a7142;
$custom-light: #659b77;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7142",
  "rgb": {
    "r": 26,
    "g": 113,
    "b": 66
  },
  "hsl": {
    "h": 147.586,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.4864,
    "c": 0.11003,
    "h": 154.5
  },
  "luminance": 0.12423
}

Semantic roles & 50–950 ramp

primary
#1A7142
secondary
#A64177
accent
#429AE6
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #1A7142

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

Preview Lab → · Contrast checker → · Palette generator →

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