#1A7946#1A7946

#1A7946 is a mid, moderate green. Relative luminance 0.143; OKLCH L 51.0% C 0.117 H 154.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#1A7946
RGBrgb(26, 121, 70)
HSLhsl(148, 65%, 29%)
HSVhsv(148, 79%, 47%)
CMYKcmyk(78.5%, 0%, 42.1%, 52.5%)
CIE-LABlab(44.71, -39.25, 20.49)
CIE-LCHlch(44.71, 44.28, 152.43°)
OKLaboklab(51% -0.1058 0.051)
OKLCHoklch(51% 0.117 154.3)
XYZxyz(8.3681, 14.3356, 8.1192)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7946 #791A4D
analogous
#1E791A #1A7946 #1A7976
triadic
#1A7946 #461A79 #79461A
tetradic
#1A7946 #1A1E79 #791A4D #79761A
square
#1A7946 #1A1E79 #791A4D #79761A
split-complementary
#1A7946 #761A79 #791A1E
monochromatic
#05190F #0F4729 #1A7946 #25AB63 #39D481

Accessibility & contrast

On white

5.43
#1A7946 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#1A7946 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7946
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7946#FFFFFF#000000##FFFFFF
##1A79461.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F42
Deuteranopia (green-blind)
#6D6749
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1a7946;
/* rgb */ color: rgb(26, 121, 70);
/* oklch */ color: oklch(51.0% 0.117 154.3);
Tailwind
colors: {
  custom: {
    50: '#67a17a',
    500: '#1a7946',
    950: '#000000',
  },
}
SCSS
$custom: #1a7946;
$custom-light: #67a17a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7946",
  "rgb": {
    "r": 26,
    "g": 121,
    "b": 70
  },
  "hsl": {
    "h": 147.789,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51,
    "c": 0.1174,
    "h": 154.3
  },
  "luminance": 0.14337
}

Semantic roles & 50–950 ramp

primary
#1A7946
secondary
#AD417B
accent
#409AE8
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1A7946

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

Preview Lab → · Contrast checker → · Palette generator →

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