#1A8729#1A8729

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

Color values

HEX#1A8729
RGBrgb(26, 135, 41)
HSLhsl(128, 68%, 32%)
HSVhsv(128, 81%, 53%)
CMYKcmyk(80.7%, 0%, 69.6%, 47.1%)
CIE-LABlab(49.14, -48.81, 40.62)
CIE-LCHlch(49.14, 63.50, 140.24°)
OKLaboklab(54.55% -0.1318 0.0935)
OKLCHoklch(54.55% 0.162 144.6)
XYZxyz(9.4896, 17.7065, 5.0150)
Luminance0.1771 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8729 #871A78
analogous
#42871A #1A8729 #1A8760
triadic
#1A8729 #291A87 #87291A
tetradic
#1A8729 #1A4287 #871A78 #87601A
square
#1A8729 #1A4287 #871A78 #87601A
split-complementary
#1A8729 #601A87 #871A42
monochromatic
#06200A #105419 #1A8729 #24BA39 #41DA56

Accessibility & contrast

On white

4.62
#1A8729 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1A8729
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8729#FFFFFF#000000##FFFFFF
##1A87291.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A1C
Deuteranopia (green-blind)
#7E7232
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1a8729;
/* rgb */ color: rgb(26, 135, 41);
/* oklch */ color: oklch(54.5% 0.162 144.6);
Tailwind
colors: {
  custom: {
    50: '#6cab68',
    500: '#1a8729',
    950: '#000000',
  },
}
SCSS
$custom: #1a8729;
$custom-light: #6cab68;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8729",
  "rgb": {
    "r": 26,
    "g": 135,
    "b": 41
  },
  "hsl": {
    "h": 128.257,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54547,
    "c": 0.16163,
    "h": 144.6
  },
  "luminance": 0.17708
}

Semantic roles & 50–950 ramp

primary
#1A8729
secondary
#BA42AA
accent
#3DD3EB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1A8729

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

Preview Lab → · Contrast checker → · Palette generator →

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