#1A7A2A#1A7A2A

#1A7A2A is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.8% C 0.145 H 145.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#1A7A2A
RGBrgb(26, 122, 42)
HSLhsl(130, 65%, 29%)
HSVhsv(130, 79%, 48%)
CMYKcmyk(78.7%, 0%, 65.6%, 52.2%)
CIE-LABlab(44.67, -44.19, 35.25)
CIE-LCHlch(44.67, 56.52, 141.42°)
OKLaboklab(50.84% -0.1192 0.0823)
OKLCHoklch(50.84% 0.145 145.4)
XYZxyz(7.8029, 14.3049, 4.5399)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7A2A #7A1A6A
analogous
#3A7A1A #1A7A2A #1A7A5A
triadic
#1A7A2A #2A1A7A #7A2A1A
tetradic
#1A7A2A #1A3A7A #7A1A6A #7A5A1A
square
#1A7A2A #1A3A7A #7A1A6A #7A5A1A
split-complementary
#1A7A2A #5A1A7A #7A1A3A
monochromatic
#051909 #0F4819 #1A7A2A #25AC3B #39D553

Accessibility & contrast

On white

5.44
#1A7A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#1A7A2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7A2A
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7A2A#FFFFFF#000000##FFFFFF
##1A7A2A1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E21
Deuteranopia (green-blind)
#716731
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1a7a2a;
/* rgb */ color: rgb(26, 122, 42);
/* oklch */ color: oklch(50.8% 0.145 145.4);
Tailwind
colors: {
  custom: {
    50: '#68a167',
    500: '#1a7a2a',
    950: '#000000',
  },
}
SCSS
$custom: #1a7a2a;
$custom-light: #68a167;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7a2a",
  "rgb": {
    "r": 26,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 130,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50838,
    "c": 0.14484,
    "h": 145.4
  },
  "luminance": 0.14306
}

Semantic roles & 50–950 ramp

primary
#1A7A2A
secondary
#AE419C
accent
#40CCE8
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A7A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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