#1A4512#1A4512

#1A4512 is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.7% C 0.093 H 140.7°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#1A4512
RGBrgb(26, 69, 18)
HSLhsl(111, 59%, 17%)
HSVhsv(111, 74%, 27%)
CMYKcmyk(62.3%, 0%, 73.9%, 72.9%)
CIE-LABlab(25.32, -26.23, 25.48)
CIE-LCHlch(25.32, 36.57, 135.83°)
OKLaboklab(34.74% -0.0718 0.0587)
OKLCHoklch(34.74% 0.093 140.7)
XYZxyz(2.6632, 4.5193, 1.3041)
Luminance0.0452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4512 #3D1245
analogous
#344512 #1A4512 #124524
triadic
#1A4512 #121A45 #45121A
tetradic
#1A4512 #123445 #3D1245 #452412
square
#1A4512 #123445 #3D1245 #452412
split-complementary
#1A4512 #241245 #451234
monochromatic
#091806 #091806 #1A4512 #2C761F #3FA62B

Accessibility & contrast

On white

11.03
#1A4512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1A4512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4512
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4512#FFFFFF#000000##FFFFFF
##1A45121.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E0B
Deuteranopia (green-blind)
#413B17
Tritanopia (blue-blind)
#15433B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1a4512;
/* rgb */ color: rgb(26, 69, 18);
/* oklch */ color: oklch(34.7% 0.093 140.7);
Tailwind
colors: {
  custom: {
    50: '#5c7953',
    500: '#1a4512',
    950: '#000000',
  },
}
SCSS
$custom: #1a4512;
$custom-light: #5c7953;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4512",
  "rgb": {
    "r": 26,
    "g": 69,
    "b": 18
  },
  "hsl": {
    "h": 110.588,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.34745,
    "c": 0.09277,
    "h": 140.7
  },
  "luminance": 0.0452
}

Semantic roles & 50–950 ramp

primary
#1A4512
secondary
#73357E
accent
#46E2C9
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040902
muted
#797B78

Preview Lab

Preview with #1A4512

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

Preview Lab → · Contrast checker → · Palette generator →

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