#1A7C29#1A7C29

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

Color values

HEX#1A7C29
RGBrgb(26, 124, 41)
HSLhsl(129, 65%, 29%)
HSVhsv(129, 79%, 49%)
CMYKcmyk(79%, 0%, 66.9%, 51.4%)
CIE-LABlab(45.35, -45.02, 36.48)
CIE-LCHlch(45.35, 57.94, 140.98°)
OKLaboklab(51.4% -0.1215 0.0848)
OKLCHoklch(51.4% 0.148 145.1)
XYZxyz(8.0333, 14.7941, 4.5296)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7C29 #7C1A6D
analogous
#3C7C1A #1A7C29 #1A7C5A
triadic
#1A7C29 #291A7C #7C291A
tetradic
#1A7C29 #1A3C7C #7C1A6D #7C5A1A
square
#1A7C29 #1A3C7C #7C1A6D #7C5A1A
split-complementary
#1A7C29 #5A1A7C #7C1A3C
monochromatic
#051908 #0F4918 #1A7C29 #25AF3A #3BD652

Accessibility & contrast

On white

5.30
#1A7C29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1A7C29
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7C29#FFFFFF#000000##FFFFFF
##1A7C291.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a7c29;
/* rgb */ color: rgb(26, 124, 41);
/* oklch */ color: oklch(51.4% 0.148 145.1);
Tailwind
colors: {
  custom: {
    50: '#69a367',
    500: '#1a7c29',
    950: '#000000',
  },
}
SCSS
$custom: #1a7c29;
$custom-light: #69a367;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7c29",
  "rgb": {
    "r": 26,
    "g": 124,
    "b": 41
  },
  "hsl": {
    "h": 129.184,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51402,
    "c": 0.14815,
    "h": 145.1
  },
  "luminance": 0.14795
}

Semantic roles & 50–950 ramp

primary
#1A7C29
secondary
#B0429F
accent
#40CEE8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A7C29

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

Preview Lab → · Contrast checker → · Palette generator →

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