#1A7618#1A7618

#1A7618 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.5% C 0.152 H 142.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#1A7618
RGBrgb(26, 118, 24)
HSLhsl(119, 66%, 28%)
HSVhsv(119, 80%, 46%)
CMYKcmyk(78%, 0%, 79.7%, 53.7%)
CIE-LABlab(43.13, -44.58, 41.22)
CIE-LCHlch(43.13, 60.72, 137.24°)
OKLaboklab(49.51% -0.1211 0.0925)
OKLCHoklch(49.51% 0.152 142.6)
XYZxyz(7.0689, 13.2416, 3.0473)
Luminance0.1324 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7618 #741876
analogous
#497618 #1A7618 #187645
triadic
#1A7618 #181A76 #76181A
tetradic
#1A7618 #184976 #741876 #764518
square
#1A7618 #184976 #741876 #764518
split-complementary
#1A7618 #451876 #761849
monochromatic
#061905 #0F430E #1A7618 #25A922 #36D533

Accessibility & contrast

On white

5.76
#1A7618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#1A7618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7618
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7618#FFFFFF#000000##FFFFFF
##1A76181.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A03
Deuteranopia (green-blind)
#6F6323
Tritanopia (blue-blind)
#007264
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1a7618;
/* rgb */ color: rgb(26, 118, 24);
/* oklch */ color: oklch(49.5% 0.152 142.6);
Tailwind
colors: {
  custom: {
    50: '#689e5d',
    500: '#1a7618',
    950: '#000000',
  },
}
SCSS
$custom: #1a7618;
$custom-light: #689e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7618",
  "rgb": {
    "r": 26,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 118.723,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4951,
    "c": 0.15242,
    "h": 142.6
  },
  "luminance": 0.13242
}

Semantic roles & 50–950 ramp

primary
#1A7618
secondary
#A93FAB
accent
#3FE9E5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1A7618

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

Preview Lab → · Contrast checker → · Palette generator →

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