#1A7D2F#1A7D2F

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

Color values

HEX#1A7D2F
RGBrgb(26, 125, 47)
HSLhsl(133, 66%, 30%)
HSVhsv(133, 79%, 49%)
CMYKcmyk(79.2%, 0%, 62.4%, 51%)
CIE-LABlab(45.76, -44.62, 34.08)
CIE-LCHlch(45.76, 56.15, 142.63°)
OKLaboklab(51.76% -0.1202 0.0803)
OKLCHoklch(51.76% 0.145 146.3)
XYZxyz(8.2721, 15.0911, 5.1657)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7D2F #7D1A68
analogous
#377D1A #1A7D2F #1A7D61
triadic
#1A7D2F #2F1A7D #7D2F1A
tetradic
#1A7D2F #1A377D #7D1A68 #7D611A
square
#1A7D2F #1A377D #7D1A68 #7D611A
split-complementary
#1A7D2F #611A7D #7D1A37
monochromatic
#05190A #0F4A1C #1A7D2F #25B042 #3BD65C

Accessibility & contrast

On white

5.23
#1A7D2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1A7D2F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7D2F#FFFFFF#000000##FFFFFF
##1A7D2F1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7127
Deuteranopia (green-blind)
#746935
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1a7d2f;
/* rgb */ color: rgb(26, 125, 47);
/* oklch */ color: oklch(51.8% 0.145 146.3);
Tailwind
colors: {
  custom: {
    50: '#69a46a',
    500: '#1a7d2f',
    950: '#000000',
  },
}
SCSS
$custom: #1a7d2f;
$custom-light: #69a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7d2f",
  "rgb": {
    "r": 26,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 132.727,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5176,
    "c": 0.14452,
    "h": 146.3
  },
  "luminance": 0.15092
}

Semantic roles & 50–950 ramp

primary
#1A7D2F
secondary
#B14299
accent
#3FC5E9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1A7D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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