#1A3012#1A3012

#1A3012 is a dark, muted green. Relative luminance 0.024; OKLCH L 28.2% C 0.059 H 138.0°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#1A3012
RGBrgb(26, 48, 18)
HSLhsl(104, 45%, 13%)
HSVhsv(104, 63%, 19%)
CMYKcmyk(45.8%, 0%, 62.5%, 81.2%)
CIE-LABlab(17.35, -15.83, 16.37)
CIE-LCHlch(17.35, 22.78, 134.04°)
OKLaboklab(28.21% -0.0435 0.0392)
OKLCHoklch(28.21% 0.059 138)
XYZxyz(1.5921, 2.3771, 0.9471)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3012 #281230
analogous
#293012 #1A3012 #123019
triadic
#1A3012 #121A30 #30121A
tetradic
#1A3012 #122930 #281230 #301912
square
#1A3012 #122930 #281230 #301912
split-complementary
#1A3012 #191230 #301229
monochromatic
#0C1608 #0C1608 #1A3012 #325D23 #4A8933

Accessibility & contrast

On white

14.23
#1A3012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1A3012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3012
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3012#FFFFFF#000000##FFFFFF
##1A30121.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0F
Deuteranopia (green-blind)
#2E2A14
Tritanopia (blue-blind)
#192E29
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a3012;
/* rgb */ color: rgb(26, 48, 18);
/* oklch */ color: oklch(28.2% 0.059 138.0);
Tailwind
colors: {
  custom: {
    50: '#586850',
    500: '#1a3012',
    950: '#000000',
  },
}
SCSS
$custom: #1a3012;
$custom-light: #586850;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3012",
  "rgb": {
    "r": 26,
    "g": 48,
    "b": 18
  },
  "hsl": {
    "h": 104,
    "s": 45.455,
    "l": 12.941
  },
  "oklch": {
    "l": 0.28212,
    "c": 0.05854,
    "h": 138
  },
  "luminance": 0.02377
}

Semantic roles & 50–950 ramp

primary
#1A3012
secondary
#5B3668
accent
#53D5B2
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030602
muted
#787A78

Preview Lab

Preview with #1A3012

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

Preview Lab → · Contrast checker → · Palette generator →

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