#1A7C48#1A7C48

#1A7C48 is a mid, moderate green. Relative luminance 0.151; OKLCH L 51.9% C 0.120 H 154.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#1A7C48
RGBrgb(26, 124, 72)
HSLhsl(148, 65%, 29%)
HSVhsv(148, 79%, 49%)
CMYKcmyk(79%, 0%, 41.9%, 51.4%)
CIE-LABlab(45.77, -40.05, 20.76)
CIE-LCHlch(45.77, 45.11, 152.60°)
OKLaboklab(51.89% -0.1079 0.0516)
OKLCHoklch(51.89% 0.12 154.4)
XYZxyz(8.8025, 15.1017, 8.5806)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7C48 #7C1A4E
analogous
#1D7C1A #1A7C48 #1A7C79
triadic
#1A7C48 #481A7C #7C481A
tetradic
#1A7C48 #1A1D7C #7C1A4E #7C791A
square
#1A7C48 #1A1D7C #7C1A4E #7C791A
split-complementary
#1A7C48 #791A7C #7C1A1D
monochromatic
#05190F #0F492B #1A7C48 #25AF65 #3BD683

Accessibility & contrast

On white

5.22
#1A7C48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#1A7C48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7C48
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7C48#FFFFFF#000000##FFFFFF
##1A7C481.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7144
Deuteranopia (green-blind)
#70694C
Tritanopia (blue-blind)
#007B6F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1a7c48;
/* rgb */ color: rgb(26, 124, 72);
/* oklch */ color: oklch(51.9% 0.120 154.4);
Tailwind
colors: {
  custom: {
    50: '#67a37b',
    500: '#1a7c48',
    950: '#000000',
  },
}
SCSS
$custom: #1a7c48;
$custom-light: #67a37b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7c48",
  "rgb": {
    "r": 26,
    "g": 124,
    "b": 72
  },
  "hsl": {
    "h": 148.163,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51889,
    "c": 0.11962,
    "h": 154.4
  },
  "luminance": 0.15103
}

Semantic roles & 50–950 ramp

primary
#1A7C48
secondary
#B0427C
accent
#4099E8
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1A7C48

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

Preview Lab → · Contrast checker → · Palette generator →

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