#1A7C40#1A7C40

#1A7C40 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.128 H 151.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#1A7C40
RGBrgb(26, 124, 64)
HSLhsl(143, 65%, 29%)
HSVhsv(143, 79%, 49%)
CMYKcmyk(79%, 0%, 48.4%, 51.4%)
CIE-LABlab(45.64, -41.58, 25.05)
CIE-LCHlch(45.64, 48.54, 148.94°)
OKLaboklab(51.74% -0.1118 0.0613)
OKLCHoklch(51.74% 0.128 151.2)
XYZxyz(8.5583, 15.0041, 7.2945)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7C40 #7C1A56
analogous
#257C1A #1A7C40 #1A7C71
triadic
#1A7C40 #401A7C #7C401A
tetradic
#1A7C40 #1A257C #7C1A56 #7C711A
square
#1A7C40 #1A257C #7C1A56 #7C711A
split-complementary
#1A7C40 #711A7C #7C1A25
monochromatic
#05190D #0F4926 #1A7C40 #25AF5A #3BD677

Accessibility & contrast

On white

5.25
#1A7C40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#1A7C40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7C40
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7C40#FFFFFF#000000##FFFFFF
##1A7C401.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C713B
Deuteranopia (green-blind)
#716944
Tritanopia (blue-blind)
#007A6E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1a7c40;
/* rgb */ color: rgb(26, 124, 64);
/* oklch */ color: oklch(51.7% 0.128 151.2);
Tailwind
colors: {
  custom: {
    50: '#68a376',
    500: '#1a7c40',
    950: '#000000',
  },
}
SCSS
$custom: #1a7c40;
$custom-light: #68a376;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7c40",
  "rgb": {
    "r": 26,
    "g": 124,
    "b": 64
  },
  "hsl": {
    "h": 143.265,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51735,
    "c": 0.1275,
    "h": 151.2
  },
  "luminance": 0.15005
}

Semantic roles & 50–950 ramp

primary
#1A7C40
secondary
#B04285
accent
#40A7E8
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1A7C40

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

Preview Lab → · Contrast checker → · Palette generator →

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