#1A7C2E#1A7C2E

#1A7C2E is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.144 H 146.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#1A7C2E
RGBrgb(26, 124, 46)
HSLhsl(132, 65%, 29%)
HSVhsv(132, 79%, 49%)
CMYKcmyk(79%, 0%, 62.9%, 51.4%)
CIE-LABlab(45.40, -44.40, 34.16)
CIE-LCHlch(45.40, 56.01, 142.43°)
OKLaboklab(51.46% -0.1196 0.0804)
OKLCHoklch(51.46% 0.144 146.1)
XYZxyz(8.1262, 14.8312, 5.0187)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7C2E #7C1A68
analogous
#377C1A #1A7C2E #1A7C5F
triadic
#1A7C2E #2E1A7C #7C2E1A
tetradic
#1A7C2E #1A377C #7C1A68 #7C5F1A
square
#1A7C2E #1A377C #7C1A68 #7C5F1A
split-complementary
#1A7C2E #5F1A7C #7C1A37
monochromatic
#051909 #0F491B #1A7C2E #25AF41 #3BD65A

Accessibility & contrast

On white

5.29
#1A7C2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#1A7C2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7C2E
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7C2E#FFFFFF#000000##FFFFFF
##1A7C2E1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7026
Deuteranopia (green-blind)
#736835
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1a7c2e;
/* rgb */ color: rgb(26, 124, 46);
/* oklch */ color: oklch(51.5% 0.144 146.1);
Tailwind
colors: {
  custom: {
    50: '#68a36a',
    500: '#1a7c2e',
    950: '#000000',
  },
}
SCSS
$custom: #1a7c2e;
$custom-light: #68a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7c2e",
  "rgb": {
    "r": 26,
    "g": 124,
    "b": 46
  },
  "hsl": {
    "h": 132.245,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51461,
    "c": 0.14408,
    "h": 146.1
  },
  "luminance": 0.14832
}

Semantic roles & 50–950 ramp

primary
#1A7C2E
secondary
#B0429A
accent
#40C6E8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A7C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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