#1A7418#1A7418

#1A7418 is a mid, vivid green. Relative luminance 0.128; OKLCH L 48.9% C 0.150 H 142.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#1A7418
RGBrgb(26, 116, 24)
HSLhsl(119, 66%, 27%)
HSVhsv(119, 79%, 45%)
CMYKcmyk(77.6%, 0%, 79.3%, 54.5%)
CIE-LABlab(42.42, -43.89, 40.53)
CIE-LCHlch(42.42, 59.74, 137.28°)
OKLaboklab(48.93% -0.1192 0.0911)
OKLCHoklch(48.93% 0.15 142.6)
XYZxyz(6.8358, 12.7756, 2.9696)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7418 #721874
analogous
#487418 #1A7418 #187444
triadic
#1A7418 #181A74 #74181A
tetradic
#1A7418 #184874 #721874 #744418
square
#1A7418 #184874 #721874 #744418
split-complementary
#1A7418 #441874 #741848
monochromatic
#061905 #0F410E #1A7418 #25A722 #35D532

Accessibility & contrast

On white

5.91
#1A7418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#1A7418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7418
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7418#FFFFFF#000000##FFFFFF
##1A74181.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776804
Deuteranopia (green-blind)
#6D6122
Tritanopia (blue-blind)
#007063
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1a7418;
/* rgb */ color: rgb(26, 116, 24);
/* oklch */ color: oklch(48.9% 0.150 142.6);
Tailwind
colors: {
  custom: {
    50: '#679d5c',
    500: '#1a7418',
    950: '#000000',
  },
}
SCSS
$custom: #1a7418;
$custom-light: #679d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7418",
  "rgb": {
    "r": 26,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 118.696,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48927,
    "c": 0.15007,
    "h": 142.6
  },
  "luminance": 0.12776
}

Semantic roles & 50–950 ramp

primary
#1A7418
secondary
#A73FA9
accent
#3FE9E5
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1A7418

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

Preview Lab → · Contrast checker → · Palette generator →

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