#1B341F#1B341F

#1B341F is a dark, muted green. Relative luminance 0.028; OKLCH L 29.8% C 0.049 H 148.0°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#1B341F
RGBrgb(27, 52, 31)
HSLhsl(130, 32%, 15%)
HSVhsv(130, 48%, 20%)
CMYKcmyk(48.1%, 0%, 40.4%, 79.6%)
CIE-LABlab(19.17, -15.27, 10.34)
CIE-LCHlch(19.17, 18.44, 145.89°)
OKLaboklab(29.79% -0.0416 0.0259)
OKLCHoklch(29.79% 0.049 148)
XYZxyz(1.9272, 2.7878, 1.7326)
Luminance0.0279 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B341F #341B30
analogous
#23341B #1B341F #1B342B
triadic
#1B341F #1F1B34 #341F1B
tetradic
#1B341F #1B2334 #341B30 #342B1B
square
#1B341F #1B2334 #341B30 #342B1B
split-complementary
#1B341F #2B1B34 #341B23
monochromatic
#0A140C #0A140C #1B341F #305C37 #45854F

Accessibility & contrast

On white

13.48
#1B341F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1B341F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B341F
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B341F#FFFFFF#000000##FFFFFF
##1B341F1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301E
Deuteranopia (green-blind)
#312E20
Tritanopia (blue-blind)
#17332F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b341f;
/* rgb */ color: rgb(27, 52, 31);
/* oklch */ color: oklch(29.8% 0.049 148.0);
Tailwind
colors: {
  custom: {
    50: '#596b5a',
    500: '#1b341f',
    950: '#000000',
  },
}
SCSS
$custom: #1b341f;
$custom-light: #596b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b341f",
  "rgb": {
    "r": 27,
    "g": 52,
    "b": 31
  },
  "hsl": {
    "h": 129.6,
    "s": 31.646,
    "l": 15.49
  },
  "oklch": {
    "l": 0.29789,
    "c": 0.04902,
    "h": 148
  },
  "luminance": 0.02788
}

Semantic roles & 50–950 ramp

primary
#1B341F
secondary
#684262
accent
#60B7C8
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#030604
muted
#787A79

Preview Lab

Preview with #1B341F

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

Preview Lab → · Contrast checker → · Palette generator →

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