#1B3304#1B3304

#1B3304 is a dark, moderate yellow-green. Relative luminance 0.026; OKLCH L 29.0% C 0.077 H 133.2°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#1B3304
RGBrgb(27, 51, 4)
HSLhsl(91, 85%, 11%)
HSVhsv(91, 92%, 20%)
CMYKcmyk(47.1%, 0%, 92.2%, 80%)
CIE-LABlab(18.41, -18.64, 24.14)
CIE-LCHlch(18.41, 30.49, 127.67°)
OKLaboklab(29.04% -0.0526 0.056)
OKLCHoklch(29.04% 0.077 133.2)
XYZxyz(1.6577, 2.6093, 0.5311)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3304 #1C0433
analogous
#323304 #1B3304 #043304
triadic
#1B3304 #041B33 #33041B
tetradic
#1B3304 #043233 #1C0433 #330404
square
#1B3304 #043233 #1C0433 #330404
split-complementary
#1B3304 #040433 #330432
monochromatic
#0F1C02 #0F1C02 #1B3304 #396C08 #57A40D

Accessibility & contrast

On white

13.80
#1B3304 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1B3304 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3304
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3304#FFFFFF#000000##FFFFFF
##1B33041.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362E00
Deuteranopia (green-blind)
#322C08
Tritanopia (blue-blind)
#1B312A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1b3304;
/* rgb */ color: rgb(27, 51, 4);
/* oklch */ color: oklch(29.0% 0.077 133.2);
Tailwind
colors: {
  custom: {
    50: '#5a6b49',
    500: '#1b3304',
    950: '#000000',
  },
}
SCSS
$custom: #1b3304;
$custom-light: #5a6b49;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3304",
  "rgb": {
    "r": 27,
    "g": 51,
    "b": 4
  },
  "hsl": {
    "h": 90.638,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.29038,
    "c": 0.07679,
    "h": 133.2
  },
  "luminance": 0.02609
}

Semantic roles & 50–950 ramp

primary
#1B3304
secondary
#4A1D75
accent
#2CFC96
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1B3304

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

Preview Lab → · Contrast checker → · Palette generator →

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