#1A7540#1A7540

#1A7540 is a mid, moderate green. Relative luminance 0.133; OKLCH L 49.7% C 0.118 H 152.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#1A7540
RGBrgb(26, 117, 64)
HSLhsl(145, 64%, 28%)
HSVhsv(145, 78%, 46%)
CMYKcmyk(77.8%, 0%, 45.3%, 54.1%)
CIE-LABlab(43.23, -38.84, 21.95)
CIE-LCHlch(43.23, 44.61, 150.52°)
OKLaboklab(49.74% -0.1045 0.0542)
OKLCHoklch(49.74% 0.118 152.6)
XYZxyz(7.7120, 13.3115, 7.0124)
Luminance0.1331 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7540 #751A4F
analogous
#21751A #1A7540 #1A756D
triadic
#1A7540 #401A75 #75401A
tetradic
#1A7540 #1A2175 #751A4F #756D1A
square
#1A7540 #1A2175 #751A4F #756D1A
split-complementary
#1A7540 #6D1A75 #751A21
monochromatic
#06190E #0F4325 #1A7540 #25A75B #37D378

Accessibility & contrast

On white

5.73
#1A7540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#1A7540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7540
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7540#FFFFFF#000000##FFFFFF
##1A75401.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756B3C
Deuteranopia (green-blind)
#6A6344
Tritanopia (blue-blind)
#007368
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1a7540;
/* rgb */ color: rgb(26, 117, 64);
/* oklch */ color: oklch(49.7% 0.118 152.6);
Tailwind
colors: {
  custom: {
    50: '#669e75',
    500: '#1a7540',
    950: '#000000',
  },
}
SCSS
$custom: #1a7540;
$custom-light: #669e75;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7540",
  "rgb": {
    "r": 26,
    "g": 117,
    "b": 64
  },
  "hsl": {
    "h": 145.055,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49742,
    "c": 0.11774,
    "h": 152.6
  },
  "luminance": 0.13312
}

Semantic roles & 50–950 ramp

primary
#1A7540
secondary
#AA417E
accent
#41A2E7
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #1A7540

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

Preview Lab → · Contrast checker → · Palette generator →

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