#1A7C28#1A7C28

#1A7C28 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.4% C 0.149 H 144.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#1A7C28
RGBrgb(26, 124, 40)
HSLhsl(129, 65%, 29%)
HSVhsv(129, 79%, 49%)
CMYKcmyk(79%, 0%, 67.7%, 51.4%)
CIE-LABlab(45.34, -45.13, 36.93)
CIE-LCHlch(45.34, 58.31, 140.71°)
OKLaboklab(51.39% -0.1218 0.0857)
OKLCHoklch(51.39% 0.149 144.9)
XYZxyz(8.0161, 14.7872, 4.4388)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7C28 #7C1A6E
analogous
#3D7C1A #1A7C28 #1A7C59
triadic
#1A7C28 #281A7C #7C281A
tetradic
#1A7C28 #1A3D7C #7C1A6E #7C591A
square
#1A7C28 #1A3D7C #7C1A6E #7C591A
split-complementary
#1A7C28 #591A7C #7C1A3D
monochromatic
#051908 #0F4918 #1A7C28 #25AF38 #3BD651

Accessibility & contrast

On white

5.31
#1A7C28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#1A7C28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7C28
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7C28#FFFFFF#000000##FFFFFF
##1A7C281.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701D
Deuteranopia (green-blind)
#736830
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1a7c28;
/* rgb */ color: rgb(26, 124, 40);
/* oklch */ color: oklch(51.4% 0.149 144.9);
Tailwind
colors: {
  custom: {
    50: '#69a366',
    500: '#1a7c28',
    950: '#000000',
  },
}
SCSS
$custom: #1a7c28;
$custom-light: #69a366;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7c28",
  "rgb": {
    "r": 26,
    "g": 124,
    "b": 40
  },
  "hsl": {
    "h": 128.571,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51391,
    "c": 0.14893,
    "h": 144.9
  },
  "luminance": 0.14788
}

Semantic roles & 50–950 ramp

primary
#1A7C28
secondary
#B042A0
accent
#40D0E8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A7C28

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

Preview Lab → · Contrast checker → · Palette generator →

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