#1A7D32#1A7D32

#1A7D32 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.142 H 147.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#1A7D32
RGBrgb(26, 125, 50)
HSLhsl(135, 66%, 30%)
HSVhsv(135, 79%, 49%)
CMYKcmyk(79.2%, 0%, 60%, 51%)
CIE-LABlab(45.79, -44.21, 32.63)
CIE-LCHlch(45.79, 54.95, 143.57°)
OKLaboklab(51.8% -0.119 0.0774)
OKLCHoklch(51.8% 0.142 147)
XYZxyz(8.3347, 15.1161, 5.4954)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7D32 #7D1A65
analogous
#347D1A #1A7D32 #1A7D63
triadic
#1A7D32 #321A7D #7D321A
tetradic
#1A7D32 #1A347D #7D1A65 #7D631A
square
#1A7D32 #1A347D #7D1A65 #7D631A
split-complementary
#1A7D32 #631A7D #7D1A34
monochromatic
#05190A #0F4A1E #1A7D32 #25B046 #3BD661

Accessibility & contrast

On white

5.22
#1A7D32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#1A7D32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7D32
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7D32#FFFFFF#000000##FFFFFF
##1A7D321.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F712A
Deuteranopia (green-blind)
#736938
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1a7d32;
/* rgb */ color: rgb(26, 125, 50);
/* oklch */ color: oklch(51.8% 0.142 147.0);
Tailwind
colors: {
  custom: {
    50: '#68a46c',
    500: '#1a7d32',
    950: '#000000',
  },
}
SCSS
$custom: #1a7d32;
$custom-light: #68a46c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7d32",
  "rgb": {
    "r": 26,
    "g": 125,
    "b": 50
  },
  "hsl": {
    "h": 134.545,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.518,
    "c": 0.14194,
    "h": 147
  },
  "luminance": 0.15117
}

Semantic roles & 50–950 ramp

primary
#1A7D32
secondary
#B14296
accent
#3FBFE9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1A7D32

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

Preview Lab → · Contrast checker → · Palette generator →

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