#1A7D42#1A7D42

#1A7D42 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.127 H 151.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#1A7D42
RGBrgb(26, 125, 66)
HSLhsl(144, 66%, 30%)
HSVhsv(144, 79%, 49%)
CMYKcmyk(79.2%, 0%, 47.2%, 51%)
CIE-LABlab(46.01, -41.60, 24.42)
CIE-LCHlch(46.01, 48.24, 149.58°)
OKLaboklab(52.05% -0.1118 0.06)
OKLCHoklch(52.05% 0.127 151.8)
XYZxyz(8.7422, 15.2791, 7.6416)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7D42 #7D1A55
analogous
#247D1A #1A7D42 #1A7D73
triadic
#1A7D42 #421A7D #7D421A
tetradic
#1A7D42 #1A247D #7D1A55 #7D731A
square
#1A7D42 #1A247D #7D1A55 #7D731A
split-complementary
#1A7D42 #731A7D #7D1A24
monochromatic
#05190D #0F4A27 #1A7D42 #25B05D #3BD67A

Accessibility & contrast

On white

5.18
#1A7D42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#1A7D42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7D42
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7D42#FFFFFF#000000##FFFFFF
##1A7D421.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D723D
Deuteranopia (green-blind)
#726A46
Tritanopia (blue-blind)
#007B6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1a7d42;
/* rgb */ color: rgb(26, 125, 66);
/* oklch */ color: oklch(52.1% 0.127 151.8);
Tailwind
colors: {
  custom: {
    50: '#68a477',
    500: '#1a7d42',
    950: '#000000',
  },
}
SCSS
$custom: #1a7d42;
$custom-light: #68a477;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7d42",
  "rgb": {
    "r": 26,
    "g": 125,
    "b": 66
  },
  "hsl": {
    "h": 144.242,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52055,
    "c": 0.12691,
    "h": 151.8
  },
  "luminance": 0.1528
}

Semantic roles & 50–950 ramp

primary
#1A7D42
secondary
#B14284
accent
#3FA4E9
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1A7D42

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

Preview Lab → · Contrast checker → · Palette generator →

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