#1A8728#1A8728

#1A8728 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.5% C 0.162 H 144.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#1A8728
RGBrgb(26, 135, 40)
HSLhsl(128, 68%, 32%)
HSVhsv(128, 81%, 53%)
CMYKcmyk(80.7%, 0%, 70.4%, 47.1%)
CIE-LABlab(49.13, -48.92, 41.04)
CIE-LCHlch(49.13, 63.85, 140.01°)
OKLaboklab(54.54% -0.1321 0.0943)
OKLCHoklch(54.54% 0.162 144.5)
XYZxyz(9.4723, 17.6996, 4.9242)
Luminance0.1770 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8728 #871A79
analogous
#43871A #1A8728 #1A875F
triadic
#1A8728 #281A87 #87281A
tetradic
#1A8728 #1A4387 #871A79 #875F1A
square
#1A8728 #1A4387 #871A79 #875F1A
split-complementary
#1A8728 #5F1A87 #871A43
monochromatic
#06200A #105419 #1A8728 #24BA37 #41DA55

Accessibility & contrast

On white

4.63
#1A8728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#1A8728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1A8728
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8728#FFFFFF#000000##FFFFFF
##1A87281.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1A
Deuteranopia (green-blind)
#7E7231
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1a8728;
/* rgb */ color: rgb(26, 135, 40);
/* oklch */ color: oklch(54.5% 0.162 144.5);
Tailwind
colors: {
  custom: {
    50: '#6cab67',
    500: '#1a8728',
    950: '#000000',
  },
}
SCSS
$custom: #1a8728;
$custom-light: #6cab67;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8728",
  "rgb": {
    "r": 26,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 127.706,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54538,
    "c": 0.16233,
    "h": 144.5
  },
  "luminance": 0.17701
}

Semantic roles & 50–950 ramp

primary
#1A8728
secondary
#BA42AB
accent
#3DD4EB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1A8728

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

Preview Lab → · Contrast checker → · Palette generator →

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