#1A7D1A#1A7D1A

#1A7D1A is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.6% C 0.159 H 142.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#1A7D1A
RGBrgb(26, 125, 26)
HSLhsl(120, 66%, 30%)
HSVhsv(120, 79%, 49%)
CMYKcmyk(79.2%, 0%, 79.2%, 51%)
CIE-LABlab(45.58, -46.81, 42.91)
CIE-LCHlch(45.58, 63.50, 137.49°)
OKLaboklab(51.55% -0.127 0.0964)
OKLCHoklch(51.55% 0.159 142.8)
XYZxyz(7.9456, 14.9605, 3.4460)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7D1A #7D1A7D
analogous
#4C7D1A #1A7D1A #1A7D4C
triadic
#1A7D1A #1A1A7D #7D1A1A
tetradic
#1A7D1A #1A4C7D #7D1A7D #7D4C1A
square
#1A7D1A #1A4C7D #7D1A7D #7D4C1A
split-complementary
#1A7D1A #4C1A7D #7D1A4C
monochromatic
#051905 #0F4A0F #1A7D1A #25B025 #3BD63B

Accessibility & contrast

On white

5.26
#1A7D1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#1A7D1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7D1A
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7D1A#FFFFFF#000000##FFFFFF
##1A7D1A1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807003
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1a7d1a;
/* rgb */ color: rgb(26, 125, 26);
/* oklch */ color: oklch(51.6% 0.159 142.8);
Tailwind
colors: {
  custom: {
    50: '#6aa45e',
    500: '#1a7d1a',
    950: '#000000',
  },
}
SCSS
$custom: #1a7d1a;
$custom-light: #6aa45e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7d1a",
  "rgb": {
    "r": 26,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 120,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51555,
    "c": 0.15946,
    "h": 142.8
  },
  "luminance": 0.14961
}

Semantic roles & 50–950 ramp

primary
#1A7D1A
secondary
#B142B1
accent
#3FE9E9
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #1A7D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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