#1A4012#1A4012

#1A4012 is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.2% C 0.085 H 140.3°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#1A4012
RGBrgb(26, 64, 18)
HSLhsl(110, 56%, 16%)
HSVhsv(110, 72%, 25%)
CMYKcmyk(59.4%, 0%, 71.9%, 74.9%)
CIE-LABlab(23.44, -23.95, 23.42)
CIE-LCHlch(23.44, 33.49, 135.64°)
OKLaboklab(33.2% -0.0656 0.0544)
OKLCHoklch(33.2% 0.085 140.3)
XYZxyz(2.3685, 3.9299, 1.2059)
Luminance0.0393 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4012 #381240
analogous
#314012 #1A4012 #124021
triadic
#1A4012 #121A40 #40121A
tetradic
#1A4012 #123140 #381240 #402112
square
#1A4012 #123140 #381240 #402112
split-complementary
#1A4012 #211240 #401231
monochromatic
#0A1807 #0A1807 #1A4012 #2D701F #41A02D

Accessibility & contrast

On white

11.76
#1A4012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1A4012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4012
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4012#FFFFFF#000000##FFFFFF
##1A40121.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0D
Deuteranopia (green-blind)
#3D3716
Tritanopia (blue-blind)
#163E36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1a4012;
/* rgb */ color: rgb(26, 64, 18);
/* oklch */ color: oklch(33.2% 0.085 140.3);
Tailwind
colors: {
  custom: {
    50: '#5b7552',
    500: '#1a4012',
    950: '#000000',
  },
}
SCSS
$custom: #1a4012;
$custom-light: #5b7552;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4012",
  "rgb": {
    "r": 26,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 109.565,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.33197,
    "c": 0.0852,
    "h": 140.3
  },
  "luminance": 0.0393
}

Semantic roles & 50–950 ramp

primary
#1A4012
secondary
#6D3579
accent
#48DFC5
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #1A4012

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

Preview Lab → · Contrast checker → · Palette generator →

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