#1A7948#1A7948

#1A7948 is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.0% C 0.115 H 155.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#1A7948
RGBrgb(26, 121, 72)
HSLhsl(149, 65%, 29%)
HSVhsv(149, 79%, 47%)
CMYKcmyk(78.5%, 0%, 40.5%, 52.5%)
CIE-LABlab(44.75, -38.84, 19.40)
CIE-LCHlch(44.75, 43.41, 153.45°)
OKLaboklab(51.04% -0.1048 0.0484)
OKLCHoklch(51.04% 0.115 155.2)
XYZxyz(8.4323, 14.3612, 8.4572)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7948 #791A4B
analogous
#1B791A #1A7948 #1A7978
triadic
#1A7948 #481A79 #79481A
tetradic
#1A7948 #1A1B79 #791A4B #79781A
square
#1A7948 #1A1B79 #791A4B #79781A
split-complementary
#1A7948 #781A79 #791A1B
monochromatic
#05190F #0F472A #1A7948 #25AB66 #39D484

Accessibility & contrast

On white

5.42
#1A7948 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1A7948
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7948#FFFFFF#000000##FFFFFF
##1A79481.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F45
Deuteranopia (green-blind)
#6D674B
Tritanopia (blue-blind)
#00786D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1a7948;
/* rgb */ color: rgb(26, 121, 72);
/* oklch */ color: oklch(51.0% 0.115 155.2);
Tailwind
colors: {
  custom: {
    50: '#67a07b',
    500: '#1a7948',
    950: '#000000',
  },
}
SCSS
$custom: #1a7948;
$custom-light: #67a07b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7948",
  "rgb": {
    "r": 26,
    "g": 121,
    "b": 72
  },
  "hsl": {
    "h": 149.053,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51042,
    "c": 0.11541,
    "h": 155.2
  },
  "luminance": 0.14362
}

Semantic roles & 50–950 ramp

primary
#1A7948
secondary
#AD4179
accent
#4097E8
background
#F6FAF7
surface
#EBF3EE
border
#C6CDC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1A7948

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

Preview Lab → · Contrast checker → · Palette generator →

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