#1A7428#1A7428

#1A7428 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.139 H 145.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#1A7428
RGBrgb(26, 116, 40)
HSLhsl(129, 63%, 28%)
HSVhsv(129, 78%, 45%)
CMYKcmyk(77.6%, 0%, 65.5%, 54.5%)
CIE-LABlab(42.56, -42.28, 33.82)
CIE-LCHlch(42.56, 54.14, 141.34°)
OKLaboklab(49.08% -0.1141 0.0791)
OKLCHoklch(49.08% 0.139 145.3)
XYZxyz(7.0539, 12.8628, 4.1181)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7428 #741A66
analogous
#39741A #1A7428 #1A7455
triadic
#1A7428 #281A74 #74281A
tetradic
#1A7428 #1A3974 #741A66 #74551A
square
#1A7428 #1A3974 #741A66 #74551A
split-complementary
#1A7428 #551A74 #741A39
monochromatic
#061909 #0F4217 #1A7428 #25A639 #36D24F

Accessibility & contrast

On white

5.88
#1A7428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#1A7428 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7428
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7428#FFFFFF#000000##FFFFFF
##1A74281.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76691F
Deuteranopia (green-blind)
#6C622F
Tritanopia (blue-blind)
#007164
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1a7428;
/* rgb */ color: rgb(26, 116, 40);
/* oklch */ color: oklch(49.1% 0.139 145.3);
Tailwind
colors: {
  custom: {
    50: '#679d65',
    500: '#1a7428',
    950: '#000000',
  },
}
SCSS
$custom: #1a7428;
$custom-light: #679d65;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7428",
  "rgb": {
    "r": 26,
    "g": 116,
    "b": 40
  },
  "hsl": {
    "h": 129.333,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49079,
    "c": 0.1388,
    "h": 145.3
  },
  "luminance": 0.12864
}

Semantic roles & 50–950 ramp

primary
#1A7428
secondary
#A94199
accent
#41CDE6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1A7428

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

Preview Lab → · Contrast checker → · Palette generator →

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