#1A7C3E#1A7C3E

#1A7C3E is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.129 H 150.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#1A7C3E
RGBrgb(26, 124, 62)
HSLhsl(142, 65%, 29%)
HSVhsv(142, 79%, 49%)
CMYKcmyk(79%, 0%, 50%, 51.4%)
CIE-LABlab(45.61, -41.94, 26.10)
CIE-LCHlch(45.61, 49.40, 148.10°)
OKLaboklab(51.7% -0.1127 0.0637)
OKLCHoklch(51.7% 0.129 150.5)
XYZxyz(8.5024, 14.9817, 7.0001)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7C3E #7C1A58
analogous
#277C1A #1A7C3E #1A7C6F
triadic
#1A7C3E #3E1A7C #7C3E1A
tetradic
#1A7C3E #1A277C #7C1A58 #7C6F1A
square
#1A7C3E #1A277C #7C1A58 #7C6F1A
split-complementary
#1A7C3E #6F1A7C #7C1A27
monochromatic
#05190D #0F4925 #1A7C3E #25AF57 #3BD674

Accessibility & contrast

On white

5.25
#1A7C3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#1A7C3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7C3E
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7C3E#FFFFFF#000000##FFFFFF
##1A7C3E1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7139
Deuteranopia (green-blind)
#716942
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1a7c3e;
/* rgb */ color: rgb(26, 124, 62);
/* oklch */ color: oklch(51.7% 0.129 150.5);
Tailwind
colors: {
  custom: {
    50: '#68a374',
    500: '#1a7c3e',
    950: '#000000',
  },
}
SCSS
$custom: #1a7c3e;
$custom-light: #68a374;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7c3e",
  "rgb": {
    "r": 26,
    "g": 124,
    "b": 62
  },
  "hsl": {
    "h": 142.041,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.517,
    "c": 0.12944,
    "h": 150.5
  },
  "luminance": 0.14983
}

Semantic roles & 50–950 ramp

primary
#1A7C3E
secondary
#B04288
accent
#40AAE8
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1A7C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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