#1A7E40#1A7E40

#1A7E40 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.130 H 150.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#1A7E40
RGBrgb(26, 126, 64)
HSLhsl(143, 66%, 30%)
HSVhsv(143, 79%, 49%)
CMYKcmyk(79.4%, 0%, 49.2%, 50.6%)
CIE-LABlab(46.33, -42.35, 25.92)
CIE-LCHlch(46.33, 49.65, 148.53°)
OKLaboklab(52.3% -0.1138 0.0633)
OKLCHoklch(52.3% 0.13 150.9)
XYZxyz(8.8115, 15.5104, 7.3789)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7E40 #7E1A58
analogous
#267E1A #1A7E40 #1A7E72
triadic
#1A7E40 #401A7E #7E401A
tetradic
#1A7E40 #1A267E #7E1A58 #7E721A
square
#1A7E40 #1A267E #7E1A58 #7E721A
split-complementary
#1A7E40 #721A7E #7E1A26
monochromatic
#05190D #104B26 #1A7E40 #24B15A #3CD777

Accessibility & contrast

On white

5.12
#1A7E40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#1A7E40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7E40
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7E40#FFFFFF#000000##FFFFFF
##1A7E401.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F733B
Deuteranopia (green-blind)
#736B44
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1a7e40;
/* rgb */ color: rgb(26, 126, 64);
/* oklch */ color: oklch(52.3% 0.130 150.9);
Tailwind
colors: {
  custom: {
    50: '#68a476',
    500: '#1a7e40',
    950: '#000000',
  },
}
SCSS
$custom: #1a7e40;
$custom-light: #68a476;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7e40",
  "rgb": {
    "r": 26,
    "g": 126,
    "b": 64
  },
  "hsl": {
    "h": 142.8,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52302,
    "c": 0.13023,
    "h": 150.9
  },
  "luminance": 0.15511
}

Semantic roles & 50–950 ramp

primary
#1A7E40
secondary
#B24287
accent
#3FA8E9
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1A7E40

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

Preview Lab → · Contrast checker → · Palette generator →

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