#1A7545#1A7545

#1A7545 is a mid, moderate green. Relative luminance 0.134; OKLCH L 49.8% C 0.113 H 154.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#1A7545
RGBrgb(26, 117, 69)
HSLhsl(148, 64%, 28%)
HSVhsv(148, 78%, 46%)
CMYKcmyk(77.8%, 0%, 41%, 54.1%)
CIE-LABlab(43.32, -37.83, 19.22)
CIE-LCHlch(43.32, 42.44, 153.06°)
OKLaboklab(49.84% -0.102 0.0479)
OKLCHoklch(49.84% 0.113 154.8)
XYZxyz(7.8607, 13.3709, 7.7956)
Luminance0.1337 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7545 #751A4A
analogous
#1C751A #1A7545 #1A7572
triadic
#1A7545 #451A75 #75451A
tetradic
#1A7545 #1A1C75 #751A4A #75721A
square
#1A7545 #1A1C75 #751A4A #75721A
split-complementary
#1A7545 #721A75 #751A1C
monochromatic
#06190F #0F4327 #1A7545 #25A763 #37D380

Accessibility & contrast

On white

5.72
#1A7545 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#1A7545 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7545
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7545#FFFFFF#000000##FFFFFF
##1A75451.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756B42
Deuteranopia (green-blind)
#6A6348
Tritanopia (blue-blind)
#007469
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1a7545;
/* rgb */ color: rgb(26, 117, 69);
/* oklch */ color: oklch(49.8% 0.113 154.8);
Tailwind
colors: {
  custom: {
    50: '#669e79',
    500: '#1a7545',
    950: '#000000',
  },
}
SCSS
$custom: #1a7545;
$custom-light: #669e79;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7545",
  "rgb": {
    "r": 26,
    "g": 117,
    "b": 69
  },
  "hsl": {
    "h": 148.352,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49844,
    "c": 0.11274,
    "h": 154.8
  },
  "luminance": 0.13372
}

Semantic roles & 50–950 ramp

primary
#1A7545
secondary
#AA4178
accent
#4198E7
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #1A7545

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

Preview Lab → · Contrast checker → · Palette generator →

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