#1A7E42#1A7E42

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

Color values

HEX#1A7E42
RGBrgb(26, 126, 66)
HSLhsl(144, 66%, 30%)
HSVhsv(144, 79%, 49%)
CMYKcmyk(79.4%, 0%, 47.6%, 50.6%)
CIE-LABlab(46.36, -41.99, 24.86)
CIE-LCHlch(46.36, 48.80, 149.37°)
OKLaboklab(52.34% -0.1129 0.061)
OKLCHoklch(52.34% 0.128 151.6)
XYZxyz(8.8694, 15.5336, 7.6840)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7E42 #7E1A56
analogous
#247E1A #1A7E42 #1A7E74
triadic
#1A7E42 #421A7E #7E421A
tetradic
#1A7E42 #1A247E #7E1A56 #7E741A
square
#1A7E42 #1A247E #7E1A56 #7E741A
split-complementary
#1A7E42 #741A7E #7E1A24
monochromatic
#05190D #104B27 #1A7E42 #24B15D #3CD77A

Accessibility & contrast

On white

5.11
#1A7E42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#1A7E42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7E42
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7E42#FFFFFF#000000##FFFFFF
##1A7E421.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E733D
Deuteranopia (green-blind)
#736B46
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1a7e42;
/* rgb */ color: rgb(26, 126, 66);
/* oklch */ color: oklch(52.3% 0.128 151.6);
Tailwind
colors: {
  custom: {
    50: '#68a477',
    500: '#1a7e42',
    950: '#000000',
  },
}
SCSS
$custom: #1a7e42;
$custom-light: #68a477;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7e42",
  "rgb": {
    "r": 26,
    "g": 126,
    "b": 66
  },
  "hsl": {
    "h": 144,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52338,
    "c": 0.12829,
    "h": 151.6
  },
  "luminance": 0.15535
}

Semantic roles & 50–950 ramp

primary
#1A7E42
secondary
#B24285
accent
#3FA5E9
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1A7E42

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

Preview Lab → · Contrast checker → · Palette generator →

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