#1A7918#1A7918

#1A7918 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.4% C 0.156 H 142.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#1A7918
RGBrgb(26, 121, 24)
HSLhsl(119, 67%, 28%)
HSVhsv(119, 80%, 47%)
CMYKcmyk(78.5%, 0%, 80.2%, 52.5%)
CIE-LABlab(44.17, -45.60, 42.24)
CIE-LCHlch(44.17, 62.16, 137.19°)
OKLaboklab(50.38% -0.1239 0.0947)
OKLCHoklch(50.38% 0.156 142.6)
XYZxyz(7.4278, 13.9594, 3.1670)
Luminance0.1396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7918 #771879
analogous
#4A7918 #1A7918 #187946
triadic
#1A7918 #181A79 #79181A
tetradic
#1A7918 #184A79 #771879 #794618
square
#1A7918 #184A79 #771879 #794618
split-complementary
#1A7918 #461879 #79184A
monochromatic
#051A05 #0F460E #1A7918 #25AC22 #38D735

Accessibility & contrast

On white

5.54
#1A7918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#1A7918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7918
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7918#FFFFFF#000000##FFFFFF
##1A79181.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#716623
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1a7918;
/* rgb */ color: rgb(26, 121, 24);
/* oklch */ color: oklch(50.4% 0.156 142.6);
Tailwind
colors: {
  custom: {
    50: '#69a15d',
    500: '#1a7918',
    950: '#000000',
  },
}
SCSS
$custom: #1a7918;
$custom-light: #69a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7918",
  "rgb": {
    "r": 26,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 118.763,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50382,
    "c": 0.15592,
    "h": 142.6
  },
  "luminance": 0.1396
}

Semantic roles & 50–950 ramp

primary
#1A7918
secondary
#AC3FAE
accent
#3EEAE6
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #1A7918

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

Preview Lab → · Contrast checker → · Palette generator →

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