#1A7928#1A7928

#1A7928 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.5% C 0.145 H 145.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#1A7928
RGBrgb(26, 121, 40)
HSLhsl(129, 65%, 29%)
HSVhsv(129, 79%, 47%)
CMYKcmyk(78.5%, 0%, 66.9%, 52.5%)
CIE-LABlab(44.30, -44.07, 35.78)
CIE-LCHlch(44.30, 56.77, 140.93°)
OKLaboklab(50.53% -0.119 0.0832)
OKLCHoklch(50.53% 0.145 145)
XYZxyz(7.6458, 14.0467, 4.3154)
Luminance0.1405 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7928 #791A6B
analogous
#3C791A #1A7928 #1A7958
triadic
#1A7928 #281A79 #79281A
tetradic
#1A7928 #1A3C79 #791A6B #79581A
square
#1A7928 #1A3C79 #791A6B #79581A
split-complementary
#1A7928 #581A79 #791A3C
monochromatic
#051908 #0F4717 #1A7928 #25AB39 #39D450

Accessibility & contrast

On white

5.51
#1A7928 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#1A7928 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7928
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7928#FFFFFF#000000##FFFFFF
##1A79281.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D1E
Deuteranopia (green-blind)
#70662F
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1a7928;
/* rgb */ color: rgb(26, 121, 40);
/* oklch */ color: oklch(50.5% 0.145 145.0);
Tailwind
colors: {
  custom: {
    50: '#68a166',
    500: '#1a7928',
    950: '#000000',
  },
}
SCSS
$custom: #1a7928;
$custom-light: #68a166;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7928",
  "rgb": {
    "r": 26,
    "g": 121,
    "b": 40
  },
  "hsl": {
    "h": 128.842,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50526,
    "c": 0.14517,
    "h": 145
  },
  "luminance": 0.14048
}

Semantic roles & 50–950 ramp

primary
#1A7928
secondary
#AD419D
accent
#40CFE8
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A7928

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

Preview Lab → · Contrast checker → · Palette generator →

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