#1A7D2A#1A7D2A

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

Color values

HEX#1A7D2A
RGBrgb(26, 125, 42)
HSLhsl(130, 66%, 30%)
HSVhsv(130, 79%, 49%)
CMYKcmyk(79.2%, 0%, 66.4%, 51%)
CIE-LABlab(45.71, -45.25, 36.41)
CIE-LCHlch(45.71, 58.08, 141.18°)
OKLaboklab(51.7% -0.1221 0.0848)
OKLCHoklch(51.7% 0.149 145.2)
XYZxyz(8.1770, 15.0530, 4.6646)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7D2A #7D1A6D
analogous
#3C7D1A #1A7D2A #1A7D5C
triadic
#1A7D2A #2A1A7D #7D2A1A
tetradic
#1A7D2A #1A3C7D #7D1A6D #7D5C1A
square
#1A7D2A #1A3C7D #7D1A6D #7D5C1A
split-complementary
#1A7D2A #5C1A7D #7D1A3C
monochromatic
#051909 #0F4A19 #1A7D2A #25B03B #3BD654

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A7D2A#FFFFFF#000000##FFFFFF
##1A7D2A1.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)
#7F7120
Deuteranopia (green-blind)
#746931
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1a7d2a;
/* rgb */ color: rgb(26, 125, 42);
/* oklch */ color: oklch(51.7% 0.149 145.2);
Tailwind
colors: {
  custom: {
    50: '#69a467',
    500: '#1a7d2a',
    950: '#000000',
  },
}
SCSS
$custom: #1a7d2a;
$custom-light: #69a467;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7d2a",
  "rgb": {
    "r": 26,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 129.697,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.517,
    "c": 0.14863,
    "h": 145.2
  },
  "luminance": 0.15054
}

Semantic roles & 50–950 ramp

primary
#1A7D2A
secondary
#B1429F
accent
#3FCDE9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A7D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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