#1A8014#1A8014

#1A8014 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.166 H 142.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#1A8014
RGBrgb(26, 128, 20)
HSLhsl(117, 73%, 29%)
HSVhsv(117, 84%, 50%)
CMYKcmyk(79.7%, 0%, 84.4%, 49.8%)
CIE-LABlab(46.59, -48.21, 45.82)
CIE-LCHlch(46.59, 66.51, 136.45°)
OKLaboklab(52.38% -0.1311 0.1016)
OKLCHoklch(52.38% 0.166 142.2)
XYZxyz(8.2709, 15.7075, 3.2576)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8014 #7A1480
analogous
#508014 #1A8014 #148044
triadic
#1A8014 #141A80 #80141A
tetradic
#1A8014 #145080 #7A1480 #804414
square
#1A8014 #145080 #7A1480 #804414
split-complementary
#1A8014 #441480 #801450
monochromatic
#051A04 #0F4B0C #1A8014 #25B51C #39DF30

Accessibility & contrast

On white

5.07
#1A8014 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#1A8014 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A8014
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8014#FFFFFF#000000##FFFFFF
##1A80141.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786B22
Tritanopia (blue-blind)
#007C6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1a8014;
/* rgb */ color: rgb(26, 128, 20);
/* oklch */ color: oklch(52.4% 0.166 142.2);
Tailwind
colors: {
  custom: {
    50: '#6ba65c',
    500: '#1a8014',
    950: '#000000',
  },
}
SCSS
$custom: #1a8014;
$custom-light: #6ba65c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8014",
  "rgb": {
    "r": 26,
    "g": 128,
    "b": 20
  },
  "hsl": {
    "h": 116.667,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52383,
    "c": 0.16585,
    "h": 142.2
  },
  "luminance": 0.15708
}

Semantic roles & 50–950 ramp

primary
#1A8014
secondary
#AE3BB5
accent
#38F0E5
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #1A8014

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

Preview Lab → · Contrast checker → · Palette generator →

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