#1B3604#1B3604

#1B3604 is a dark, moderate yellow-green. Relative luminance 0.029; OKLCH L 30.0% C 0.081 H 134.2°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#1B3604
RGBrgb(27, 54, 4)
HSLhsl(92, 86%, 11%)
HSVhsv(92, 93%, 21%)
CMYKcmyk(50%, 0%, 92.6%, 78.8%)
CIE-LABlab(19.56, -20.16, 25.48)
CIE-LCHlch(19.56, 32.49, 128.36°)
OKLaboklab(29.98% -0.0567 0.0582)
OKLCHoklch(29.98% 0.081 134.2)
XYZxyz(1.7930, 2.8800, 0.5763)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3604 #1F0436
analogous
#343604 #1B3604 #043606
triadic
#1B3604 #041B36 #36041B
tetradic
#1B3604 #043436 #1F0436 #360604
square
#1B3604 #043436 #1F0436 #360604
split-complementary
#1B3604 #060436 #360434
monochromatic
#0E1C02 #0E1C02 #1B3604 #376F08 #54A80C

Accessibility & contrast

On white

13.32
#1B3604 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1B3604 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3604
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3604#FFFFFF#000000##FFFFFF
##1B36041.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393100
Deuteranopia (green-blind)
#352F09
Tritanopia (blue-blind)
#1B332D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b3604;
/* rgb */ color: rgb(27, 54, 4);
/* oklch */ color: oklch(30.0% 0.081 134.2);
Tailwind
colors: {
  custom: {
    50: '#5a6d49',
    500: '#1b3604',
    950: '#000000',
  },
}
SCSS
$custom: #1b3604;
$custom-light: #5a6d49;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3604",
  "rgb": {
    "r": 27,
    "g": 54,
    "b": 4
  },
  "hsl": {
    "h": 92.4,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.29981,
    "c": 0.08121,
    "h": 134.2
  },
  "luminance": 0.0288
}

Semantic roles & 50–950 ramp

primary
#1B3604
secondary
#4F1E78
accent
#2BFC9C
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1B3604

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

Preview Lab → · Contrast checker → · Palette generator →

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