#1A7F2A#1A7F2A

#1A7F2A is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.151 H 145.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#1A7F2A
RGBrgb(26, 127, 42)
HSLhsl(130, 66%, 30%)
HSVhsv(130, 80%, 50%)
CMYKcmyk(79.5%, 0%, 66.9%, 50.2%)
CIE-LABlab(46.40, -45.95, 37.18)
CIE-LCHlch(46.40, 59.11, 141.03°)
OKLaboklab(52.27% -0.124 0.0864)
OKLCHoklch(52.27% 0.151 145.1)
XYZxyz(8.4327, 15.5645, 4.7499)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7F2A #7F1A6F
analogous
#3C7F1A #1A7F2A #1A7F5D
triadic
#1A7F2A #2A1A7F #7F2A1A
tetradic
#1A7F2A #1A3C7F #7F1A6F #7F5D1A
square
#1A7F2A #1A3C7F #7F1A6F #7F5D1A
split-complementary
#1A7F2A #5D1A7F #7F1A3C
monochromatic
#051908 #104C19 #1A7F2A #24B23B #3CD755

Accessibility & contrast

On white

5.11
#1A7F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#1A7F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7F2A
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7F2A#FFFFFF#000000##FFFFFF
##1A7F2A1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817320
Deuteranopia (green-blind)
#766B32
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1a7f2a;
/* rgb */ color: rgb(26, 127, 42);
/* oklch */ color: oklch(52.3% 0.151 145.1);
Tailwind
colors: {
  custom: {
    50: '#69a567',
    500: '#1a7f2a',
    950: '#000000',
  },
}
SCSS
$custom: #1a7f2a;
$custom-light: #69a567;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7f2a",
  "rgb": {
    "r": 26,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 129.505,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.52274,
    "c": 0.15112,
    "h": 145.1
  },
  "luminance": 0.15566
}

Semantic roles & 50–950 ramp

primary
#1A7F2A
secondary
#B342A1
accent
#3FCEE9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A7F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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