#1A7728#1A7728

#1A7728 is a mid, vivid green. Relative luminance 0.136; OKLCH L 49.9% C 0.143 H 145.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#1A7728
RGBrgb(26, 119, 40)
HSLhsl(129, 64%, 28%)
HSVhsv(129, 78%, 47%)
CMYKcmyk(78.2%, 0%, 66.4%, 53.3%)
CIE-LABlab(43.60, -43.36, 35.00)
CIE-LCHlch(43.60, 55.72, 141.09°)
OKLaboklab(49.95% -0.117 0.0816)
OKLCHoklch(49.95% 0.143 145.1)
XYZxyz(7.4053, 13.5656, 4.2352)
Luminance0.1357 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7728 #771A69
analogous
#3A771A #1A7728 #1A7756
triadic
#1A7728 #281A77 #77281A
tetradic
#1A7728 #1A3A77 #771A69 #77561A
square
#1A7728 #1A3A77 #771A69 #77561A
split-complementary
#1A7728 #561A77 #771A3A
monochromatic
#051908 #0F4517 #1A7728 #25A939 #38D34F

Accessibility & contrast

On white

5.66
#1A7728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#1A7728 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7728
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7728#FFFFFF#000000##FFFFFF
##1A77281.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B1F
Deuteranopia (green-blind)
#6F642F
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1a7728;
/* rgb */ color: rgb(26, 119, 40);
/* oklch */ color: oklch(49.9% 0.143 145.1);
Tailwind
colors: {
  custom: {
    50: '#679f65',
    500: '#1a7728',
    950: '#000000',
  },
}
SCSS
$custom: #1a7728;
$custom-light: #679f65;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7728",
  "rgb": {
    "r": 26,
    "g": 119,
    "b": 40
  },
  "hsl": {
    "h": 129.032,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49949,
    "c": 0.14264,
    "h": 145.1
  },
  "luminance": 0.13566
}

Semantic roles & 50–950 ramp

primary
#1A7728
secondary
#AC419C
accent
#41CEE7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #1A7728

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

Preview Lab → · Contrast checker → · Palette generator →

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