#1A7D14#1A7D14

#1A7D14 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.163 H 142.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#1A7D14
RGBrgb(26, 125, 20)
HSLhsl(117, 72%, 28%)
HSVhsv(117, 84%, 49%)
CMYKcmyk(79.2%, 0%, 84%, 51%)
CIE-LABlab(45.55, -47.22, 44.85)
CIE-LCHlch(45.55, 65.13, 136.47°)
OKLaboklab(51.52% -0.1284 0.0995)
OKLCHoklch(51.52% 0.163 142.2)
XYZxyz(7.8854, 14.9364, 3.1291)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7D14 #77147D
analogous
#4E7D14 #1A7D14 #147D42
triadic
#1A7D14 #141A7D #7D141A
tetradic
#1A7D14 #144E7D #77147D #7D4214
square
#1A7D14 #144E7D #77147D #7D4214
split-complementary
#1A7D14 #42147D #7D144E
monochromatic
#051A04 #0F480C #1A7D14 #25B21C #38DE2E

Accessibility & contrast

On white

5.27
#1A7D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#1A7D14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7D14
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7D14#FFFFFF#000000##FFFFFF
##1A7D141.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1a7d14;
/* rgb */ color: rgb(26, 125, 20);
/* oklch */ color: oklch(51.5% 0.163 142.2);
Tailwind
colors: {
  custom: {
    50: '#6aa45c',
    500: '#1a7d14',
    950: '#000000',
  },
}
SCSS
$custom: #1a7d14;
$custom-light: #6aa45c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7d14",
  "rgb": {
    "r": 26,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 116.571,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51517,
    "c": 0.1625,
    "h": 142.2
  },
  "luminance": 0.14937
}

Semantic roles & 50–950 ramp

primary
#1A7D14
secondary
#AC3AB2
accent
#39EFE5
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #1A7D14

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

Preview Lab → · Contrast checker → · Palette generator →

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