#1A7F14#1A7F14

#1A7F14 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.165 H 142.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#1A7F14
RGBrgb(26, 127, 20)
HSLhsl(117, 73%, 29%)
HSVhsv(117, 84%, 50%)
CMYKcmyk(79.5%, 0%, 84.3%, 50.2%)
CIE-LABlab(46.24, -47.88, 45.50)
CIE-LCHlch(46.24, 66.05, 136.46°)
OKLaboklab(52.09% -0.1302 0.1009)
OKLCHoklch(52.09% 0.165 142.2)
XYZxyz(8.1411, 15.4479, 3.2144)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7F14 #79147F
analogous
#507F14 #1A7F14 #147F44
triadic
#1A7F14 #141A7F #7F141A
tetradic
#1A7F14 #14507F #79147F #7F4414
square
#1A7F14 #14507F #79147F #7F4414
split-complementary
#1A7F14 #44147F #7F1450
monochromatic
#051A04 #0F4A0C #1A7F14 #25B41C #39DE2F

Accessibility & contrast

On white

5.13
#1A7F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#1A7F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7F14
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7F14#FFFFFF#000000##FFFFFF
##1A7F141.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B22
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1a7f14;
/* rgb */ color: rgb(26, 127, 20);
/* oklch */ color: oklch(52.1% 0.165 142.2);
Tailwind
colors: {
  custom: {
    50: '#6aa55c',
    500: '#1a7f14',
    950: '#000000',
  },
}
SCSS
$custom: #1a7f14;
$custom-light: #6aa55c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7f14",
  "rgb": {
    "r": 26,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 116.636,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52094,
    "c": 0.16474,
    "h": 142.2
  },
  "luminance": 0.15449
}

Semantic roles & 50–950 ramp

primary
#1A7F14
secondary
#AD3BB4
accent
#38EFE5
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #1A7F14

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

Preview Lab → · Contrast checker → · Palette generator →

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