#1A7845#1A7845

#1A7845 is a mid, moderate green. Relative luminance 0.141; OKLCH L 50.7% C 0.117 H 154.1°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#1A7845
RGBrgb(26, 120, 69)
HSLhsl(147, 64%, 29%)
HSVhsv(147, 78%, 47%)
CMYKcmyk(78.3%, 0%, 42.5%, 52.9%)
CIE-LABlab(44.35, -39.05, 20.58)
CIE-LCHlch(44.35, 44.14, 152.20°)
OKLaboklab(50.7% -0.1052 0.0512)
OKLCHoklch(50.7% 0.117 154.1)
XYZxyz(8.2159, 14.0813, 7.9140)
Luminance0.1408 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7845 #781A4D
analogous
#1E781A #1A7845 #1A7874
triadic
#1A7845 #451A78 #78451A
tetradic
#1A7845 #1A1E78 #781A4D #78741A
square
#1A7845 #1A1E78 #781A4D #78741A
split-complementary
#1A7845 #741A78 #781A1E
monochromatic
#05190E #0F4628 #1A7845 #25AA62 #38D480

Accessibility & contrast

On white

5.50
#1A7845 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#1A7845 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7845
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7845#FFFFFF#000000##FFFFFF
##1A78451.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786E41
Deuteranopia (green-blind)
#6D6648
Tritanopia (blue-blind)
#00766B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1a7845;
/* rgb */ color: rgb(26, 120, 69);
/* oklch */ color: oklch(50.7% 0.117 154.1);
Tailwind
colors: {
  custom: {
    50: '#67a079',
    500: '#1a7845',
    950: '#000000',
  },
}
SCSS
$custom: #1a7845;
$custom-light: #67a079;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7845",
  "rgb": {
    "r": 26,
    "g": 120,
    "b": 69
  },
  "hsl": {
    "h": 147.447,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50696,
    "c": 0.11698,
    "h": 154.1
  },
  "luminance": 0.14082
}

Semantic roles & 50–950 ramp

primary
#1A7845
secondary
#AC417B
accent
#409BE7
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #1A7845

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

Preview Lab → · Contrast checker → · Palette generator →

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