#1B3305#1B3305

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

Color values

HEX#1B3305
RGBrgb(27, 51, 5)
HSLhsl(91, 82%, 11%)
HSVhsv(91, 90%, 20%)
CMYKcmyk(47.1%, 0%, 90.2%, 80%)
CIE-LABlab(18.42, -18.53, 23.74)
CIE-LCHlch(18.42, 30.12, 127.98°)
OKLaboklab(29.05% -0.0522 0.055)
OKLCHoklch(29.05% 0.076 133.5)
XYZxyz(1.6632, 2.6115, 0.5600)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3305 #1D0533
analogous
#323305 #1B3305 #053306
triadic
#1B3305 #051B33 #33051B
tetradic
#1B3305 #053233 #1D0533 #330605
square
#1B3305 #053233 #1D0533 #330605
split-complementary
#1B3305 #060533 #330532
monochromatic
#0F1C03 #0F1C03 #1B3305 #396B0A #56A210

Accessibility & contrast

On white

13.79
#1B3305 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B3305
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3305#FFFFFF#000000##FFFFFF
##1B33051.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b3305;
/* rgb */ color: rgb(27, 51, 5);
/* oklch */ color: oklch(29.0% 0.076 133.5);
Tailwind
colors: {
  custom: {
    50: '#5a6b49',
    500: '#1b3305',
    950: '#000000',
  },
}
SCSS
$custom: #1b3305;
$custom-light: #5a6b49;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3305",
  "rgb": {
    "r": 27,
    "g": 51,
    "b": 5
  },
  "hsl": {
    "h": 91.304,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.29049,
    "c": 0.07584,
    "h": 133.5
  },
  "luminance": 0.02612
}

Semantic roles & 50–950 ramp

primary
#1B3305
secondary
#4C1F74
accent
#2FF898
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1B3305

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

Preview Lab → · Contrast checker → · Palette generator →

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