#1A340F#1A340F

#1A340F is a dark, moderate green. Relative luminance 0.027; OKLCH L 29.4% C 0.069 H 137.5°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#1A340F
RGBrgb(26, 52, 15)
HSLhsl(102, 55%, 13%)
HSVhsv(102, 71%, 20%)
CMYKcmyk(50%, 0%, 71.2%, 79.6%)
CIE-LABlab(18.84, -18.40, 19.86)
CIE-LCHlch(18.84, 27.07, 132.83°)
OKLaboklab(29.42% -0.0508 0.0465)
OKLCHoklch(29.42% 0.069 137.5)
XYZxyz(1.7402, 2.7100, 0.8832)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A340F #290F34
analogous
#2C340F #1A340F #0F3416
triadic
#1A340F #0F1A34 #340F1A
tetradic
#1A340F #0F2C34 #290F34 #34160F
square
#1A340F #0F2C34 #290F34 #34160F
split-complementary
#1A340F #160F34 #340F2C
monochromatic
#0C1807 #0C1807 #1A340F #32631D #49932A

Accessibility & contrast

On white

13.62
#1A340F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1A340F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A340F
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A340F#FFFFFF#000000##FFFFFF
##1A340F1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F0B
Deuteranopia (green-blind)
#322D12
Tritanopia (blue-blind)
#19322C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a340f;
/* rgb */ color: rgb(26, 52, 15);
/* oklch */ color: oklch(29.4% 0.069 137.5);
Tailwind
colors: {
  custom: {
    50: '#596b4f',
    500: '#1a340f',
    950: '#000000',
  },
}
SCSS
$custom: #1a340f;
$custom-light: #596b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a340f",
  "rgb": {
    "r": 26,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 102.162,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.29415,
    "c": 0.06883,
    "h": 137.5
  },
  "luminance": 0.0271
}

Semantic roles & 50–950 ramp

primary
#1A340F
secondary
#5C316E
accent
#49DFB2
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030602
muted
#787A78

Preview Lab

Preview with #1A340F

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

Preview Lab → · Contrast checker → · Palette generator →

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