#1A7C2A#1A7C2A

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

Color values

HEX#1A7C2A
RGBrgb(26, 124, 42)
HSLhsl(130, 65%, 29%)
HSVhsv(130, 79%, 49%)
CMYKcmyk(79%, 0%, 66.1%, 51.4%)
CIE-LABlab(45.36, -44.90, 36.02)
CIE-LCHlch(45.36, 57.56, 141.26°)
OKLaboklab(51.41% -0.1211 0.0839)
OKLCHoklch(51.41% 0.147 145.3)
XYZxyz(8.0510, 14.8011, 4.6226)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7C2A #7C1A6C
analogous
#3B7C1A #1A7C2A #1A7C5B
triadic
#1A7C2A #2A1A7C #7C2A1A
tetradic
#1A7C2A #1A3B7C #7C1A6C #7C5B1A
square
#1A7C2A #1A3B7C #7C1A6C #7C5B1A
split-complementary
#1A7C2A #5B1A7C #7C1A3B
monochromatic
#051909 #0F4919 #1A7C2A #25AF3B #3BD654

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A7C2A#FFFFFF#000000##FFFFFF
##1A7C2A1.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)
#7E7020
Deuteranopia (green-blind)
#736831
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1a7c2a;
/* rgb */ color: rgb(26, 124, 42);
/* oklch */ color: oklch(51.4% 0.147 145.3);
Tailwind
colors: {
  custom: {
    50: '#69a367',
    500: '#1a7c2a',
    950: '#000000',
  },
}
SCSS
$custom: #1a7c2a;
$custom-light: #69a367;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7c2a",
  "rgb": {
    "r": 26,
    "g": 124,
    "b": 42
  },
  "hsl": {
    "h": 129.796,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51413,
    "c": 0.14736,
    "h": 145.3
  },
  "luminance": 0.14802
}

Semantic roles & 50–950 ramp

primary
#1A7C2A
secondary
#B0429E
accent
#40CDE8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A7C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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