#1A7D28#1A7D28

#1A7D28 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.150 H 144.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#1A7D28
RGBrgb(26, 125, 40)
HSLhsl(128, 66%, 30%)
HSVhsv(128, 79%, 49%)
CMYKcmyk(79.2%, 0%, 68%, 51%)
CIE-LABlab(45.69, -45.48, 37.31)
CIE-LCHlch(45.69, 58.83, 140.64°)
OKLaboklab(51.68% -0.1228 0.0865)
OKLCHoklch(51.68% 0.15 144.9)
XYZxyz(8.1421, 15.0391, 4.4808)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7D28 #7D1A6F
analogous
#3E7D1A #1A7D28 #1A7D5A
triadic
#1A7D28 #281A7D #7D281A
tetradic
#1A7D28 #1A3E7D #7D1A6F #7D5A1A
square
#1A7D28 #1A3E7D #7D1A6F #7D5A1A
split-complementary
#1A7D28 #5A1A7D #7D1A3E
monochromatic
#051908 #0F4A18 #1A7D28 #25B038 #3BD651

Accessibility & contrast

On white

5.24
#1A7D28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#1A7D28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7D28
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7D28#FFFFFF#000000##FFFFFF
##1A7D281.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711D
Deuteranopia (green-blind)
#746930
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1a7d28;
/* rgb */ color: rgb(26, 125, 40);
/* oklch */ color: oklch(51.7% 0.150 144.9);
Tailwind
colors: {
  custom: {
    50: '#69a466',
    500: '#1a7d28',
    950: '#000000',
  },
}
SCSS
$custom: #1a7d28;
$custom-light: #69a466;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7d28",
  "rgb": {
    "r": 26,
    "g": 125,
    "b": 40
  },
  "hsl": {
    "h": 128.485,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51678,
    "c": 0.15017,
    "h": 144.9
  },
  "luminance": 0.1504
}

Semantic roles & 50–950 ramp

primary
#1A7D28
secondary
#B142A1
accent
#3FD1E9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A7D28

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

Preview Lab → · Contrast checker → · Palette generator →

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