#1A4E18#1A4E18

#1A4E18 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.6% C 0.101 H 142.7°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#1A4E18
RGBrgb(26, 78, 24)
HSLhsl(118, 53%, 20%)
HSVhsv(118, 69%, 31%)
CMYKcmyk(66.7%, 0%, 69.2%, 69.4%)
CIE-LABlab(28.73, -29.44, 26.21)
CIE-LCHlch(28.73, 39.42, 138.32°)
OKLaboklab(37.58% -0.0801 0.0611)
OKLCHoklch(37.58% 0.101 142.7)
XYZxyz(3.3151, 5.7340, 1.7961)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4E18 #4C184E
analogous
#354E18 #1A4E18 #184E31
triadic
#1A4E18 #181A4E #4E181A
tetradic
#1A4E18 #18354E #4C184E #4E3118
square
#1A4E18 #18354E #4C184E #4E3118
split-complementary
#1A4E18 #31184E #4E1835
monochromatic
#081707 #0A1F0A #1A4E18 #2A7D26 #39AC35

Accessibility & contrast

On white

9.78
#1A4E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1A4E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4E18
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4E18#FFFFFF#000000##FFFFFF
##1A4E181.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504612
Deuteranopia (green-blind)
#49421D
Tritanopia (blue-blind)
#114C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a4e18;
/* rgb */ color: rgb(26, 78, 24);
/* oklch */ color: oklch(37.6% 0.101 142.7);
Tailwind
colors: {
  custom: {
    50: '#5e8057',
    500: '#1a4e18',
    950: '#000000',
  },
}
SCSS
$custom: #1a4e18;
$custom-light: #5e8057;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4e18",
  "rgb": {
    "r": 26,
    "g": 78,
    "b": 24
  },
  "hsl": {
    "h": 117.778,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.37581,
    "c": 0.10071,
    "h": 142.7
  },
  "luminance": 0.05734
}

Semantic roles & 50–950 ramp

primary
#1A4E18
secondary
#823D85
accent
#4BDCD7
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#050A03
muted
#797C78

Preview Lab

Preview with #1A4E18

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

Preview Lab → · Contrast checker → · Palette generator →

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