#1B340F#1B340F

#1B340F is a dark, moderate green. Relative luminance 0.027; OKLCH L 29.5% C 0.068 H 136.8°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#1B340F
RGBrgb(27, 52, 15)
HSLhsl(101, 55%, 13%)
HSVhsv(101, 71%, 20%)
CMYKcmyk(48.1%, 0%, 71.2%, 79.6%)
CIE-LABlab(18.90, -18.00, 19.94)
CIE-LCHlch(18.90, 26.86, 132.07°)
OKLaboklab(29.48% -0.0497 0.0466)
OKLCHoklch(29.48% 0.068 136.8)
XYZxyz(1.7662, 2.7234, 0.8844)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B340F #280F34
analogous
#2D340F #1B340F #0F3415
triadic
#1B340F #0F1B34 #340F1B
tetradic
#1B340F #0F2D34 #280F34 #34150F
square
#1B340F #0F2D34 #280F34 #34150F
split-complementary
#1B340F #150F34 #340F2D
monochromatic
#0C1807 #0C1807 #1B340F #34631D #4C932A

Accessibility & contrast

On white

13.60
#1B340F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B340F
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B340F#FFFFFF#000000##FFFFFF
##1B340F1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b340f;
/* rgb */ color: rgb(27, 52, 15);
/* oklch */ color: oklch(29.5% 0.068 136.8);
Tailwind
colors: {
  custom: {
    50: '#5a6b4f',
    500: '#1b340f',
    950: '#000000',
  },
}
SCSS
$custom: #1b340f;
$custom-light: #5a6b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b340f",
  "rgb": {
    "r": 27,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 100.541,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.29478,
    "c": 0.06818,
    "h": 136.8
  },
  "luminance": 0.02723
}

Semantic roles & 50–950 ramp

primary
#1B340F
secondary
#5A316E
accent
#49DFAE
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040602
muted
#797A78

Preview Lab

Preview with #1B340F

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

Preview Lab → · Contrast checker → · Palette generator →

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